java.lang.Object
care.smith.top.top_phenotypic_query.c2reasoner.functions.FunctionEntity
care.smith.top.top_phenotypic_query.c2reasoner.functions.set.Li

public class Li extends care.smith.top.top_phenotypic_query.c2reasoner.functions.FunctionEntity
The function Li combines its argument expressions to one expression containing multiple values. If an argument contains multiple numeric values, they are aggregated. The function must not be used for phenotype restrictions, but only for phenotypes!
Arguments:
Arguments Arguments data types Return data type Example
<exp> <exp>+ <exp>: any list of values of the same data type as <exp> Li(Value1, Value2)
The function returns an expression containing the both values.
Author:
TOP group
  • Method Summary

    Modifier and Type
    Method
    Description
    care.smith.top.model.Expression
    calculate(List<care.smith.top.model.Expression> args, care.smith.top.top_phenotypic_query.c2reasoner.C2R c2r)
     
    static Li
    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
    of(Number... args)
     
    static care.smith.top.model.Expression
    of(String... args)
     
    static care.smith.top.model.Expression
    of(List<care.smith.top.model.Expression> args)
     

    Methods inherited from class care.smith.top.top_phenotypic_query.c2reasoner.functions.FunctionEntity

    getFunction, getFunctionId, getType, maxArgumentNumber, minArgumentNumber, toString, toStringValues

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • get

      public static Li get()
    • of

      public static care.smith.top.model.Expression of(List<care.smith.top.model.Expression> args)
    • 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)
    • of

      public static care.smith.top.model.Expression of(String... args)
    • of

      public static care.smith.top.model.Expression of(Number... 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 class care.smith.top.top_phenotypic_query.c2reasoner.functions.FunctionEntity