public class ExpressionSet extends Object
Constructor and Description |
---|
ExpressionSet()
Initialise an expression set with no members.
|
Modifier and Type | Method and Description |
---|---|
ExpressionSet |
add(Expression e)
Answer this expressionset after e has been anded into it.
|
boolean |
isComplex()
Answer true iff this ExpressionSet is non-trivial (ie non-empty).
|
Iterator<Expression> |
iterator()
Answer an iterator over all the Expressions in this ExpressionSet.
|
ValuatorSet |
prepare(VariableIndexes vi)
Answer a ValuatorSet which contains exactly the valuators for each
Expression in this ExpressionSet, prepared against the VariableIndexes vi.
|
String |
toString()
Answer a string representing this ExpressionSet for human consumption.
|
public ExpressionSet()
public ExpressionSet add(Expression e)
e
- the expression to and into the setpublic boolean isComplex()
public ValuatorSet prepare(VariableIndexes vi)
public Iterator<Expression> iterator()
Copyright ? 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP