edu.cmu.cs.coral.icf.plan_based.planners
Class PlannerProblemReader

java.lang.Object
  |
  +--edu.cmu.cs.coral.icf.plan_based.planners.PlannerProblemReader

public class PlannerProblemReader
extends java.lang.Object
implements ProblemReader

A generic reader for planner problems.

Since:
ICF 0.0
Version:
$Id$

Constructor Summary
PlannerProblemReader()
           
 
Method Summary
 void parseProblem(Problem problem, java.io.InputStream problem_src)
          Read problem information from the specified source and put it in the problem given.
 Problem readProblem(java.io.InputStream problem_src)
          Reads a Problem from the specified input source.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

PlannerProblemReader

public PlannerProblemReader()
Method Detail

readProblem

public Problem readProblem(java.io.InputStream problem_src)
Reads a Problem from the specified input source.
Specified by:
readProblem in interface ProblemReader
Parameters:
problem_src - a stream containing the problem
Returns:
a problem read from the problem_src
Since:
ICF 0.0

parseProblem

public void parseProblem(Problem problem,
                         java.io.InputStream problem_src)
Read problem information from the specified source and put it in the problem given.
Parameters:
problem - the problem to put the information in
problem_src - the source of the problem information
Since:
ICF 0.0