Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

CLUSTER# returns a document or TeLiTab set with clustered data based on a series of solutions

...

  • ObjName$ (a StrExp) is the name of an object and returns a TeLiTab# TeLiTab#;

Method 2

  • 0 returns a document (a large text without a particular meaning to Quaestor);
  • ParList$ (a StrExp) is the list of parameters to be clustered in a document surrounded by # and can be delimited by comma's or spaces. It is also allowed to use # as delimiter but the parameter list should at least be started and closed by #;
  • CellDelim$ (a StrExp) is a delimiter between clustered values of the parameters provided in ParList$. If "NullString" is provided, the values (per list and per solution in the cluster) are delimited by CrLf, so one value/set of values per line. If ParList$ contains more than one parameter, CellDelim$ is used as delimiter in the list per solution and between the values of each slotion, CrLf is used as delimiter for a presentation of a series of values.;
  • ColArr$ (a StrExp) is "NullString" and for future extension of format commands in column data;
  • IntSortCol (a NumExp) is an integer column number used to sort the table if ParList$ contains more than one parameter;
  • IntAllowDoubles (a NumExp) is an integer number (0 or 1) to indicate whether double values are allowed in a clustered data set, only applicable to a ParList$ with a single parameter;

Method 3

  • 1 returns a TeLiTab# TeLiTab#
  • SearchPar or SearchPar$ (a StrExp) is either a parameter or "parameter" as string. Please note that using a search parameter without quotes, requires te availability of a DETERMINED value for this parameter in the current solution.
  • CaseNos$ (a StrExp) is a list of cases in the solutions to be retrieved. Use "0" or "NullString" if all available cases should be selected. If you want to have a particular set of cases of a solution, a list of cases should be provided, e.g. "3,4,5,6".
  • [InpVar] (a StrExp) is an optional series of parameters to be included in the TeLiTab set seperated by comma's.

...

This method will return a TeLiTab# TeLiTab#. The syntax is

CLUSTER#(ObjName$)

...

If the cluster contains more than one solution, a multi-case TeLiTab# TeLiTab# set will be returned:

0 1 StrExp { Telitab set of first solution in cluster } Telitab set of second solution in cluster . Telitab set of last solution in cluster }  

If the cluster contains only one solution, CLUSTER#(ObjName$) returns a single case TeLiTab# TeLiTab# set:

1 StrExp { Telitab set of solution in cluster  }

This TeLiTab set can be used by any other function as data source. 

...

This method will return a TeLiTab# TeLiTab#:

CLUSTER#(1, A$, "0", B)

SearchPar is A$. Please note that A$ should be a DETERMINED value in the current solution. SearchPar is the key and any set of data from a solution which includes SearchPar is only added to the clustered dataset if the value of SearchPar is not yet present in this clustered dataset.

...