|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.qedeq.kernel.bo.logic.model.DynamicModel
org.qedeq.kernel.bo.logic.model.ThreeDynamicModel
public final class ThreeDynamicModel
A model for our mathematical world. It has entities, functions and predicates. There are also predicate and function constants.
Field Summary | |
---|---|
static Function |
FUNCTION_ONE
Map to 1. |
static Function |
FUNCTION_TWO
Map to 2. |
static Function |
FUNCTION_ZERO
Map to empty class. |
static Predicate |
IS_ONE
Return true if all values are 1. |
static Predicate |
IS_TWO
Return true if all values are 2. |
static Predicate |
IS_ZERO
Return true if all values are zero. |
static Entity |
ONE
"One" or set that contains the empty set. |
static Entity |
TWO
"Two" or set that contains "zero" and "one". |
static Entity |
ZERO
"Zero" or empty set. |
Fields inherited from class org.qedeq.kernel.bo.logic.model.DynamicModel |
---|
EQUAL, EVEN, FALSE, LESS, NOT_EQUAL, NOT_LESS, TRUE |
Constructor Summary | |
---|---|
ThreeDynamicModel()
Constructor. |
Method Summary | |
---|---|
Entity |
comprehension(Entity[] array)
Create entity out of entity list. |
java.lang.String |
getDescription()
Returns the description for the concrete model. |
Methods inherited from class org.qedeq.kernel.bo.logic.model.DynamicModel |
---|
addEntity, addFunction, addFunctionConstant, addPredicate, addPredicateConstant, getEntitiesSize, getEntity, getFunction, getFunctionConstant, getFunctionSize, getName, getPredicate, getPredicateConstant, getPredicateSize |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Entity ZERO
public static final Entity ONE
public static final Entity TWO
public static final Function FUNCTION_ZERO
public static final Function FUNCTION_ONE
public static final Function FUNCTION_TWO
public static final Predicate IS_ZERO
public static final Predicate IS_ONE
public static final Predicate IS_TWO
Constructor Detail |
---|
public ThreeDynamicModel()
Method Detail |
---|
public java.lang.String getDescription()
DynamicModel
getDescription
in interface Model
getDescription
in class DynamicModel
public Entity comprehension(Entity[] array)
Model
comprehension
in interface Model
comprehension
in class DynamicModel
array
- List of elements.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |