Public Member Functions | Private Attributes
Op Class Reference

List of all members.

Public Member Functions

boolean equals (Object obj)
int getId ()
int getLevel ()
AtomicFormula getName ()
BitSet getNegativeEffect ()
BitSet getNegativePrecondition ()
BitSet getPositiveEffect ()
BitSet getPositivePreconditon ()
int hashCode ()
 Op (AtomicFormula name, BitSet pp, BitSet np, BitSet pe, BitSet ne, int id)
void setLevel (int level)

Private Attributes

int id
int level
AtomicFormula name
BitSet ne
BitSet np
BitSet pe
BitSet pp

Detailed Description

This class implements the internal representation of an operator for the graphplan planner.

Author:
Damien Pellier
Version:
1.0

Definition at line 44 of file Op.java.


Constructor & Destructor Documentation

Op.Op ( AtomicFormula  name,
BitSet  pp,
BitSet  np,
BitSet  pe,
BitSet  ne,
int  id 
) [inline]

Creates a new operator.

Parameters:
namethe name of the operator.
ppthe positive precondition of the operator.
npthe negative precondition of the operator.
pethe positive effect of the operator.
nethe negative effect of the operator.
idthe id of the operator.

Definition at line 92 of file Op.java.


Member Function Documentation

boolean Op.equals ( Object  obj) [inline]

Returns true if this operator is equal to an object. This method returns true if the object is a not null instance of the class Op and both operator have the same name.

Parameters:
objthe object to be compared.
Returns:
true if this operator is equal to an object; false otherwise.

Definition at line 184 of file Op.java.

int Op.getId ( ) [inline]

Returns the id of the operator.

Returns:
the id.

Definition at line 126 of file Op.java.

int Op.getLevel ( ) [inline]

Returns the level of the operator.

Returns:
the level of the operator.

Definition at line 108 of file Op.java.

AtomicFormula Op.getName ( ) [inline]

Return the name of this operator.

Returns:
the name of this operator

Definition at line 171 of file Op.java.

BitSet Op.getNegativeEffect ( ) [inline]

Returns the negative effect of this operator.

Returns:
the the negative effect of this operator.

Definition at line 144 of file Op.java.

BitSet Op.getNegativePrecondition ( ) [inline]

Returns the negative precondition of this operator.

Returns:
the negative precondition of this operator.

Definition at line 153 of file Op.java.

BitSet Op.getPositiveEffect ( ) [inline]

Returns the positive effect of this operator.

Returns:
the positive effect of this operator.

Definition at line 135 of file Op.java.

BitSet Op.getPositivePreconditon ( ) [inline]

Returns the positive precondition of this operator.

Returns:
the positive precondition of this operator.

Definition at line 162 of file Op.java.

int Op.hashCode ( ) [inline]

Returns a hash code value for this operator. This method is supported for the benefit of hashtables such as those provided by java.util.Hashtable.

Returns:
a hash code value for this operator.

Definition at line 199 of file Op.java.

void Op.setLevel ( int  level) [inline]

Sets a new level to this operator.

Parameters:
levelthe level to set

Definition at line 117 of file Op.java.


Member Data Documentation

int Op.id [private]

The id of the operator.

Definition at line 74 of file Op.java.

int Op.level [private]

The level of the planning graph where the operator appear for the first time.

Definition at line 80 of file Op.java.

AtomicFormula Op.name [private]

The name of the operator.

Definition at line 49 of file Op.java.

BitSet Op.ne [private]

The negative effect of the operator.

Definition at line 69 of file Op.java.

BitSet Op.np [private]

The negative precondition of the operator.

Definition at line 59 of file Op.java.

BitSet Op.pe [private]

The positive effect of the operator.

Definition at line 64 of file Op.java.

BitSet Op.pp [private]

The positive precondition of the operator.

Definition at line 54 of file Op.java.


The documentation for this class was generated from the following file:


tug_ist_diagnosis_repair
Author(s): Safdar Zaman
autogenerated on Mon Jan 6 2014 11:51:12