Class Vals
java.lang.Object
care.smith.top.top_phenotypic_query.c2reasoner.functions.FunctionEntity
care.smith.top.top_phenotypic_query.c2reasoner.functions.set.Vals
public class Vals
extends care.smith.top.top_phenotypic_query.c2reasoner.functions.FunctionEntity
The function Vals combines its argument expressions to one expression containing multiple
values. The function should be used mainly for phenotype restrictions. It is allowed to use the
function with a single argument expression.
Arguments | Arguments data types | Return data type | Example |
---|---|---|---|
<exp>+ | <exp>: any | list of values of the same data type as <exp> |
Vals(Value1, Value2) The function returns an expression containing the both values. |
- Author:
- TOP group
-
Method Summary
Modifier and TypeMethodDescriptioncare.smith.top.model.Expression
calculate
(List<care.smith.top.model.Expression> args, care.smith.top.top_phenotypic_query.c2reasoner.C2R c2r) static Vals
get()
static care.smith.top.model.Expression
of
(care.smith.top.model.Expression... args) static care.smith.top.model.Expression
of
(care.smith.top.model.Phenotype... args) static care.smith.top.model.Expression
Methods inherited from class care.smith.top.top_phenotypic_query.c2reasoner.functions.FunctionEntity
getFunction, getFunctionId, getType, maxArgumentNumber, minArgumentNumber, toString, toStringValues
-
Method Details
-
get
-
of
-
of
public static care.smith.top.model.Expression of(care.smith.top.model.Expression... args) -
of
public static care.smith.top.model.Expression of(care.smith.top.model.Phenotype... args) -
calculate
public care.smith.top.model.Expression calculate(List<care.smith.top.model.Expression> args, care.smith.top.top_phenotypic_query.c2reasoner.C2R c2r) - Specified by:
calculate
in classcare.smith.top.top_phenotypic_query.c2reasoner.functions.FunctionEntity
-