| Modifier and Type | Field and Description | 
|---|---|
(package private) java.util.List<KappaTerm> | 
elements
the elements that form the sum 
 | 
(package private) int | 
value
the value of the kappa-sum, it is -1 as long as the sum cannot be evaluated 
 | 
| Constructor and Description | 
|---|
KappaSum()  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
evaluate()
Tries to evaluate the kappa term, if the evaluation is successful then the
 next call of value returns the evaluated value. 
 | 
java.util.Set<KappaTerm> | 
getSubTerms()
Processes all the sub-terms 
 | 
int | 
greaterEqualThan()  | 
java.lang.String | 
toString()  | 
int | 
value()
The neutral element is zero, that means if the sum contains no elements this method returns zero 
 | 
int value
java.util.List<KappaTerm> elements
public boolean evaluate()
KappaTermpublic int value()
public int greaterEqualThan()
greaterEqualThan in interface KappaTermpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.util.Set<KappaTerm> getSubTerms()
KappaTermgetSubTerms in interface KappaTerm