org.shapelogic.logic
Class Problem

java.lang.Object
  extended by org.shapelogic.logic.Problem
All Implemented Interfaces:
ProblemI

public abstract class Problem
extends java.lang.Object
implements ProblemI


Constructor Summary
Problem()
           
Problem(Task rootTask)
           
 
Method Summary
abstract  boolean goalTest()
           
 long pathCost(Task task)
           
 void setTaskRoot(Task rootTask)
          if I create a class without using a normal constructor
 Task successor()
          what should be the default sequence for this, I think that a deep first
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Problem

public Problem(Task rootTask)

Problem

public Problem()
Method Detail

goalTest

public abstract boolean goalTest()
Specified by:
goalTest in interface ProblemI

successor

public Task successor()
what should be the default sequence for this, I think that a deep first

Specified by:
successor in interface ProblemI

pathCost

public long pathCost(Task task)
Specified by:
pathCost in interface ProblemI

setTaskRoot

public void setTaskRoot(Task rootTask)
if I create a class without using a normal constructor



Copyright © 2009. All Rights Reserved.