Class CEOCIPSTN2JSHOP2
- java.lang.Object
-
- ai.libs.jaicore.planning.hierarchical.problems.htn.AShop2Converter
-
- ai.libs.jaicore.planning.hierarchical.problems.ceocipstn.converters.CEOCIPSTN2JSHOP2
-
public class CEOCIPSTN2JSHOP2 extends AShop2Converter
-
-
Constructor Summary
Constructors Constructor Description CEOCIPSTN2JSHOP2()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
maskString(java.lang.String str)
void
printDomain(java.io.Writer writer, java.lang.String name)
Writes the given Problem into the output filevoid
printLiteral(java.io.BufferedWriter bw, ai.libs.jaicore.logic.fol.structure.Literal lit)
Prints a single literal into the bufferedwritervoid
printMethod(java.io.BufferedWriter bw, Method method, int i)
Prints a mehtod into the given writervoid
printOperation(java.io.BufferedWriter bw, CEOCOperation operation, int i)
Prints the operations of the domain into a FIlevoid
printProblem(CEOCIPSTNPlanningProblem problem, java.io.Writer writer, java.lang.String name)
-
Methods inherited from class ai.libs.jaicore.planning.hierarchical.problems.htn.AShop2Converter
indent, printMonom, printMonom
-
-
-
-
Method Detail
-
printDomain
public void printDomain(java.io.Writer writer, java.lang.String name) throws java.io.IOException
Writes the given Problem into the output file- Parameters:
problem
- the problem form which the domain should be written into a fileoutput
- into this file- Throws:
java.io.IOException
-
printOperation
public void printOperation(java.io.BufferedWriter bw, CEOCOperation operation, int i) throws java.io.IOException
Prints the operations of the domain into a FIle- Parameters:
bw
-operation
-i
-- Throws:
java.io.IOException
-
printLiteral
public void printLiteral(java.io.BufferedWriter bw, ai.libs.jaicore.logic.fol.structure.Literal lit) throws java.io.IOException
Prints a single literal into the bufferedwriter- Specified by:
printLiteral
in classAShop2Converter
- Parameters:
bw
- the bufferedwriter which determines the outputliteral
- the literal to write- Throws:
java.io.IOException
-
printMethod
public void printMethod(java.io.BufferedWriter bw, Method method, int i) throws java.io.IOException
Prints a mehtod into the given writer- Parameters:
bw
- the writer where the method should be written tomethod
- the method to writei
- the number of indents infront of the method- Throws:
java.io.IOException
-
printProblem
public void printProblem(CEOCIPSTNPlanningProblem problem, java.io.Writer writer, java.lang.String name) throws java.io.IOException
- Throws:
java.io.IOException
-
maskString
public java.lang.String maskString(java.lang.String str)
-
-