|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectfr.ove.openmath.jome.model.Node
fr.ove.openmath.jome.model.FormulaTreeStructure
fr.ove.openmath.jome.model.Operator
fr.ove.openmath.jome.model.NaryOperator
fr.ove.openmath.jome.model.Addition
The operator "+".
Addition represents a node in the formula tree.
Its children are the operands of the operation.
| Constructor Summary | |
Addition()
The Constructor. |
|
| Method Summary | |
java.lang.String |
createLinear(java.lang.String linear)
The Creation of the corresponding linear expression of the formula. |
java.lang.String |
evaluate()
Evaluates the instance. |
FormulaTreeStructure |
insert(FormulaTreeStructure current)
Inserts the operator instance in the formula tree, from the current insertion position. |
| Methods inherited from class fr.ove.openmath.jome.model.Operator |
getTheOperator, getValue, isOperator, setTheOperator, setValue |
| Methods inherited from class fr.ove.openmath.jome.model.Node |
addChild, addChild, clone, computeDepth, computeNbStrahler, duplicate, getChild, getChildren, getDepth, getFather, getNbChildren, getNbStrahler, getRank, hasChild, moveChildren, removeAll, removeChild, removeChild, setFather, setNbStrahler |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Addition()
| Method Detail |
public FormulaTreeStructure insert(FormulaTreeStructure current)
insert in class NaryOperatorcurrent - the current insertion position.
public java.lang.String createLinear(java.lang.String linear)
createLinear in class NaryOperatorpublic java.lang.String evaluate()
evaluate in class NaryOperator
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||