|
||||||||||
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.UnaryDynamicModel
public final class UnaryDynamicModel
A model for our mathematical world. It has only one entity.
Field Summary | |
---|---|
static Function |
FUNCTION_ZERO
Map to zero. |
static Entity |
ZERO
"Zero" or empty class. |
Fields inherited from class org.qedeq.kernel.bo.logic.model.DynamicModel |
---|
EQUAL, EVEN, FALSE, LESS, NOT_EQUAL, NOT_LESS, TRUE |
Constructor Summary | |
---|---|
UnaryDynamicModel()
Constructor. |
Method Summary | |
---|---|
Entity |
comprehension(Entity[] array)
Create entity out of entity list. |
java.lang.String |
getDescription()
Returns the description for the concrete model. |
Function |
getFunction(int size,
int number)
Get function. |
Function |
getFunctionConstant(ModelFunctionConstant con)
Get function constant. |
int |
getFunctionSize(int size)
Get number of functions for this model. |
Methods inherited from class org.qedeq.kernel.bo.logic.model.DynamicModel |
---|
addEntity, addFunction, addFunctionConstant, addPredicate, addPredicateConstant, getEntitiesSize, getEntity, 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 Function FUNCTION_ZERO
Constructor Detail |
---|
public UnaryDynamicModel()
Method Detail |
---|
public java.lang.String getDescription()
DynamicModel
getDescription
in interface Model
getDescription
in class DynamicModel
public int getFunctionSize(int size)
Model
getFunctionSize
in interface Model
getFunctionSize
in class DynamicModel
size
- Number of arguments for function.
public Function getFunction(int size, int number)
Model
getFunction
in interface Model
getFunction
in class DynamicModel
size
- Number of arguments for function.number
- Number of function.
public Function getFunctionConstant(ModelFunctionConstant con)
Model
getFunctionConstant
in interface Model
getFunctionConstant
in class DynamicModel
con
- Function constant we are looking for.
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 |