public abstract class AbstractPlan extends java.lang.Object implements Plan
Modifier | Constructor and Description |
---|---|
protected |
AbstractPlan()
Creates a new empty search.
|
protected |
AbstractPlan(Plan other)
Creates a new search from an other one.
|
Modifier and Type | Method and Description |
---|---|
double |
cost()
Returns the cost of the search.
|
boolean |
isEmpty()
Returns if the search is empty.
|
int |
size()
Returns the size of the search.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
actions, add, clear, contains, getActionSet, makespan, remove, remove, timeSpecifiers
protected AbstractPlan()
protected AbstractPlan(Plan other)
other
- the plan on which a deep copy is done.public final int size()
public double cost()
public final boolean isEmpty()
isEmpty
in interface Plan
true
if the search is empty; false
otherwise.Plan.isEmpty()