Package ca.uqac.lif.cep.fol
Class GetDomain
- java.lang.Object
-
- ca.uqac.lif.cep.functions.Function
-
- ca.uqac.lif.cep.functions.UnaryFunction<Interpretation,java.util.Set>
-
- ca.uqac.lif.cep.fol.GetDomain
-
- All Implemented Interfaces:
ca.uqac.lif.azrael.Printable,ca.uqac.lif.azrael.Readable,ca.uqac.lif.cep.Duplicable,ca.uqac.lif.cep.functions.DuplicableFunction
public class GetDomain extends ca.uqac.lif.cep.functions.UnaryFunction<Interpretation,java.util.Set>
Function taking an interpretation as its input, and returning the set of values associated with some domain as its output.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringm_domainNameThe name of the domain to fetch from the interpretation
-
Constructor Summary
Constructors Constructor Description GetDomain(java.lang.String domain_name)Creates a new instance of domain function
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetDomainduplicate(boolean with_context)java.util.SetgetValue(Interpretation x)-
Methods inherited from class ca.uqac.lif.cep.functions.UnaryFunction
evaluate, getInputArity, getInputTypesFor, getOutputArity, getOutputTypeFor, reset
-
-
-
-
Method Detail
-
getValue
public java.util.Set getValue(Interpretation x)
- Specified by:
getValuein classca.uqac.lif.cep.functions.UnaryFunction<Interpretation,java.util.Set>
-
duplicate
public GetDomain duplicate(boolean with_context)
- Specified by:
duplicatein interfaceca.uqac.lif.cep.Duplicable- Overrides:
duplicatein classca.uqac.lif.cep.functions.UnaryFunction<Interpretation,java.util.Set>
-
-