Raptor.ProgramParser.Statements.PBExp
Class PGTE

java.lang.Object
  extended by Raptor.LogicParser.Formula.Formula
      extended by Raptor.ProgramParser.Statements.PBExp.PBExp
          extended by Raptor.ProgramParser.Statements.PBExp.PGTE
All Implemented Interfaces:
java.io.Serializable

public class PGTE
extends PBExp

Creates a greater than or equal to expression.
Extends BExp.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class Raptor.ProgramParser.Statements.PBExp.PBExp
left, op, right
 
Constructor Summary
PGTE(PTerm pLeft, PTerm pRight)
          Constructs a new GreaterThanOrEqual BExp.
 
Method Summary
 Formula regenerate()
          Returns a copy of the Formula which can be saved as part of the copy made for the undo function.
 Formula s()
          Creates VVar to replace PVar in the formula where necessary.
 Term ST()
           
 Formula subAll(PTerm left, PTerm right)
           
 Formula subBoolRes(java.lang.String display)
           
 
Methods inherited from class Raptor.ProgramParser.Statements.PBExp.PBExp
addToSignature, checkSub, clashes, display, getLeftTerm, getPrecedence, getRightTerm, getTerms, setAtoms, setVars, subAll
 
Methods inherited from class Raptor.LogicParser.Formula.Formula
check, concatNoDup, getAtoms, getLeft, getRight, getTuples, getVars, higher, map, setLeft, setRight, setTuples, showTuples, sub, subBool
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PGTE

public PGTE(PTerm pLeft,
            PTerm pRight)
Constructs a new GreaterThanOrEqual BExp.

Parameters:
pLeft - the program term on the left side of the greater than symbol
pRight - the program term on the right side of the greater than symbol
Method Detail

s

public Formula s()
Creates VVar to replace PVar in the formula where necessary.

Specified by:
s in class Formula

regenerate

public Formula regenerate()
Returns a copy of the Formula which can be saved as part of the copy made for the undo function.

Specified by:
regenerate in class Formula

ST

public Term ST()
Specified by:
ST in class Formula

subAll

public Formula subAll(PTerm left,
                      PTerm right)
Specified by:
subAll in class Formula

subBoolRes

public Formula subBoolRes(java.lang.String display)
Specified by:
subBoolRes in class Formula