Package ca.uqac.lif.cep.fol
Class LazyBooleanFunction
- java.lang.Object
-
- ca.uqac.lif.cep.functions.Function
-
- ca.uqac.lif.cep.fol.LazyBooleanFunction
-
- All Implemented Interfaces:
ca.uqac.lif.azrael.Printable
,ca.uqac.lif.azrael.Readable
,ca.uqac.lif.cep.Duplicable
,ca.uqac.lif.cep.functions.DuplicableFunction
- Direct Known Subclasses:
LazyBooleanFunction.And
,LazyBooleanFunction.Implies
,LazyBooleanFunction.Or
public class LazyBooleanFunction extends ca.uqac.lif.cep.functions.Function
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LazyBooleanFunction.And
protected static class
LazyBooleanFunction.DummyInterpretationFunction
static class
LazyBooleanFunction.Implies
static class
LazyBooleanFunction.Or
-
Field Summary
Fields Modifier and Type Field Description protected ca.uqac.lif.cep.functions.Function
m_left
protected ca.uqac.lif.cep.functions.Function
m_right
protected boolean
m_stopValue
-
Constructor Summary
Constructors Constructor Description LazyBooleanFunction(boolean stop_value, ca.uqac.lif.cep.functions.Function left, ca.uqac.lif.cep.functions.Function right)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ca.uqac.lif.cep.functions.Function
duplicate(boolean with_state)
void
evaluate(java.lang.Object[] inputs, java.lang.Object[] outputs)
void
evaluate(java.lang.Object[] inputs, java.lang.Object[] out, ca.uqac.lif.cep.Context context, ca.uqac.lif.cep.EventTracker tracker)
int
getInputArity()
void
getInputTypesFor(java.util.Set<java.lang.Class<?>> classes, int index)
int
getOutputArity()
java.lang.Class<?>
getOutputTypeFor(int index)
void
reset()
-
-
-
Method Detail
-
getInputArity
public int getInputArity()
- Specified by:
getInputArity
in classca.uqac.lif.cep.functions.Function
-
getOutputArity
public int getOutputArity()
- Specified by:
getOutputArity
in classca.uqac.lif.cep.functions.Function
-
evaluate
public void evaluate(java.lang.Object[] inputs, java.lang.Object[] out, ca.uqac.lif.cep.Context context, ca.uqac.lif.cep.EventTracker tracker)
- Specified by:
evaluate
in classca.uqac.lif.cep.functions.Function
-
evaluate
public void evaluate(java.lang.Object[] inputs, java.lang.Object[] outputs)
- Overrides:
evaluate
in classca.uqac.lif.cep.functions.Function
-
reset
public void reset()
- Overrides:
reset
in classca.uqac.lif.cep.functions.Function
-
duplicate
public ca.uqac.lif.cep.functions.Function duplicate(boolean with_state)
- Specified by:
duplicate
in interfaceca.uqac.lif.cep.Duplicable
- Specified by:
duplicate
in classca.uqac.lif.cep.functions.Function
-
getInputTypesFor
public void getInputTypesFor(java.util.Set<java.lang.Class<?>> classes, int index)
- Specified by:
getInputTypesFor
in classca.uqac.lif.cep.functions.Function
-
getOutputTypeFor
public java.lang.Class<?> getOutputTypeFor(int index)
- Specified by:
getOutputTypeFor
in classca.uqac.lif.cep.functions.Function
-
-