MemoryContainer
.
You can read them from and write to another containers of different data type as well.
Field
class. We have fields of two kinds. These are
simple fields and compound fields. The different is that compound field contain
information which is represented by few simple fields. For instance, you can have
IntervalField
where each bound is IntegerField
, which means
you have a single interval in one field at decision table. For example it is possible to
create followed interval: (5,8)
. All compound fields are derived from
CompoundField
.
It is possible to store simple field in decision table as well. So you don't have to
use compound field at all. Remember that simple fields are derived from SimpleField
and can be compared (it applies only to two elements of the same class). Values of number types
have the order of specified domain (natural order). For EnumField
, where you
define domain by yourself, order of elements is the same as their appearance in definition.
Simple and compound fields are derived from Field
class. Those fields are grouped in
one row of decision table in Example
. When you want something to put into decision table,
you do it using an example. First row of decision table is special, because its fields don't have any values.
Information stored there is to define params of columns. Using Attribute
class you can
change everything what is common for whole column. Each attribute is part of Metadata
class,
where are stored data associated with decision table, but which are not stored there. For example it could be
author's name, date of creating the table, etc.
setUnknown()
method
for field. It means that none domain value is used to assign "unknown" status to the field. It applies only
to simple fields, because compound field is unknown only when its all components are unknown.
Value of compound field is fully determined when all simple fields it contains have assigned value.
Otherwise we have got semiknown field. It is very important that simple fields, where at least one is
unknown, cannot be compared.
copy
and duplicate
method is defined.
So it is very simple to create new instance of object, which contains the same value. Or to copy value
from another object. Remember that copying applies only when both object are instances of the same class
or object to copy value from is instance of class representing object assigning value to itself.
Of course even unknown status can be copied or duplicated as well.
Class | Description |
---|---|
Attribute |
Stores common data for one column in the decision table.
|
CardinalField |
This class is used to store non-negative integer values.
|
CompoundField |
Provides fields, which store values using SimpleField inside.
|
Discretization |
This class reprezents attribute's discretization.
|
DiscretizationInterval |
This class reprezents a discretization interval.
|
DiscretizationIntervalExt |
Class representing extended discretization interval with associated degree of the intensity of preference for
difference on conditional cardinal criterion evaluations falling into this interval
|
EnumDomain |
This class represents user defined domain of
String elements. |
EnumField |
Contains a value from a user defined domain.
|
Example |
A list of fields in one row of the decision table.
|
Field |
This abstract class is for one field stored in the decision table.
|
FileInfo |
Stores additional information about the ISF file.
|
FloatField |
This class keeps real values.
|
FuzzyField |
Compound field with a list consisted of
Possibility elements. |
IntegerField |
Use this class to store integer values into field.
|
IntervalField |
Represents an interval consisted of two simple fields.
|
Metadata |
Simple messenger class for passing and returning metadata associated with
the decision table.
|
OrdinalCriterionConversion |
Class used to store cardinal equivalents (
FloatField values) for all ordinal values of one ordinal
criterion from memory container. |
PairField |
Class basing on
IntervalField , used to store pairs of simple values. |
Possibility |
Wraps single element of fuzzy field.
|
SimpleField |
Represents special kind of fields, which can be stored in compound fields.
|
StringField |
This class represents any string value.
|
TrapezoidalField |
It is an extension of usual interval.
|