Package ca.uqac.lif.cep.fol
Class QuantifierInterpretation
java.lang.Object
ca.uqac.lif.cep.functions.Function
ca.uqac.lif.cep.fol.QuantifierInterpretation
- All Implemented Interfaces:
ca.uqac.lif.cep.Duplicable,ca.uqac.lif.cep.functions.DuplicableFunction
- Direct Known Subclasses:
ExistsInterpretation,ForAllInterpretation
public abstract class QuantifierInterpretation
extends ca.uqac.lif.cep.functions.Function
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected ca.uqac.lif.cep.functions.Functionprotected booleanprotected booleanprotected StringFields inherited from class ca.uqac.lif.cep.functions.Function
s_maxInputArity -
Constructor Summary
ConstructorsConstructorDescriptionQuantifierInterpretation(String variable_name, String domain_name, ca.uqac.lif.cep.functions.Function expression, boolean stop_value) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidintvoidgetInputTypesFor(Set<Class<?>> classes, int index) intClass<?> getOutputTypeFor(int index) voidreset()voidsetFailFast(boolean b) Sets whether the quantifier evaluates the functions in "fail fast" modeMethods inherited from class ca.uqac.lif.cep.functions.Function
duplicate, duplicate, evaluate, evaluateLazy, evaluatePartial, printState, readState
-
Field Details
-
m_variableName
-
m_domainName
-
m_expression
protected ca.uqac.lif.cep.functions.Function m_expression -
m_stopValue
protected boolean m_stopValue -
m_failFast
protected boolean m_failFast
-
-
Constructor Details
-
QuantifierInterpretation
-
-
Method Details
-
evaluate
- Specified by:
evaluatein classca.uqac.lif.cep.functions.Function
-
setFailFast
public void setFailFast(boolean b) Sets whether the quantifier evaluates the functions in "fail fast" mode- Parameters:
b- Set totrueto use fail fast
-
evaluate
- Overrides:
evaluatein classca.uqac.lif.cep.functions.Function
-
getInputArity
public int getInputArity()- Specified by:
getInputArityin classca.uqac.lif.cep.functions.Function
-
getOutputArity
public int getOutputArity()- Specified by:
getOutputArityin classca.uqac.lif.cep.functions.Function
-
reset
public void reset()- Overrides:
resetin classca.uqac.lif.cep.functions.Function
-
getInputTypesFor
- Specified by:
getInputTypesForin classca.uqac.lif.cep.functions.Function
-
getOutputTypeFor
- Specified by:
getOutputTypeForin classca.uqac.lif.cep.functions.Function
-