}
}
public Plan getPlan(State s)// if on the start action is in also add the end action as a matter of course
{
Plan p = super.getPlan(s);
if (p != null)
{
Set acts = p.getActions();
Iterator lit = acts.iterator();
while (lit.hasNext())
{
Action a = (Action) lit.next();
if (a instanceof StartInstantAction)