Package jadex.rules.rulesystem.rules
Class AndConstraint
- java.lang.Object
-
- jadex.rules.rulesystem.rules.ComplexConstraint
-
- jadex.rules.rulesystem.rules.AndConstraint
-
- All Implemented Interfaces:
IConstraint
public class AndConstraint extends ComplexConstraint
And connected constraint tests.
-
-
Field Summary
-
Fields inherited from class jadex.rules.rulesystem.rules.ComplexConstraint
constraints
-
-
Constructor Summary
Constructors Constructor Description AndConstraint(IConstraint[] consts)
Create a new and constraint.AndConstraint(IConstraint firstconst, IConstraint secondconst)
Create a new and constraint.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
Get the string representation.-
Methods inherited from class jadex.rules.rulesystem.rules.ComplexConstraint
addConstraint, getConstraints, getVariables
-
-
-
-
Constructor Detail
-
AndConstraint
public AndConstraint(IConstraint firstconst, IConstraint secondconst)
Create a new and constraint.- Parameters:
firstconst
- The first constraint.secondconst
- The second constraint.
-
AndConstraint
public AndConstraint(IConstraint[] consts)
Create a new and constraint.- Parameters:
consts
- The constraints
-
-