|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.core.node.port.AbstractSimplePortObject
org.knime.base.node.mine.sota.SotaPortObject
public class SotaPortObject
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.knime.core.node.port.PortObject |
|---|
PortObject.PortObjectSerializer<T extends PortObject> |
| Field Summary | |
|---|---|
(package private) static String |
CFG_KEY_CLASSCOL_INDEX
The configuration key for the index of the class column. |
(package private) static String |
CFG_KEY_DIST
The configuration key for the distance to use. |
(package private) static String |
CFG_KEY_INDATA_SIZE
The configuration key for the size of the in data container. |
(package private) static String |
CFG_KEY_MAX_FUZZY_LEVEL
The configuration key for the maximal fuzzy hierarchy level. |
(package private) static String |
CFG_KEY_ORIGDATA_SIZE
The configuration key for the size of the original data container. |
(package private) static String |
CFG_KEY_SPEC
The configuration key for the object spec. |
(package private) static String |
CFG_KEY_USE_FUZZY_HIERARCHY
The configuration key for the usage of hierarchical fuzzy data. |
| Constructor Summary | |
|---|---|
SotaPortObject()
Creates empty instance of SotaPortObject. |
|
SotaPortObject(SotaManager sota,
DataTableSpec spec,
int indexOfClassCol)
Creates new instance of SotaPortObject with given
SotaManager, DataTableSpec and index of the
class column to store. |
|
| Method Summary | |
|---|---|
String |
getDistance()
|
SotaManager |
getSota()
|
SotaTreeCell |
getSotaRoot()
|
PortObjectSpec |
getSpec()
Get specification to this port object. |
String |
getSummary()
Get a short summary of this PortObject. |
protected void |
load(ModelContentRO model,
PortObjectSpec spec,
ExecutionMonitor exec)
Loads the content into the freshly instantiated object. |
protected void |
save(ModelContentWO model,
ExecutionMonitor exec)
Saves this object to model content object. |
void |
setSota(SotaManager sota)
Sets the given SotaManager. |
| Methods inherited from class org.knime.core.node.port.AbstractSimplePortObject |
|---|
equals, getPortObjectSerializer, getViews, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static final String CFG_KEY_USE_FUZZY_HIERARCHY
static final String CFG_KEY_MAX_FUZZY_LEVEL
static final String CFG_KEY_INDATA_SIZE
static final String CFG_KEY_ORIGDATA_SIZE
static final String CFG_KEY_DIST
static final String CFG_KEY_SPEC
static final String CFG_KEY_CLASSCOL_INDEX
| Constructor Detail |
|---|
public SotaPortObject()
SotaPortObject.
public SotaPortObject(SotaManager sota,
DataTableSpec spec,
int indexOfClassCol)
SotaPortObject with given
SotaManager, DataTableSpec and index of the
class column to store.
sota - The SotaManager to store.spec - The data table spec to store.indexOfClassCol - The index of the class column.| Method Detail |
|---|
protected void load(ModelContentRO model,
PortObjectSpec spec,
ExecutionMonitor exec)
throws InvalidSettingsException,
CanceledExecutionException
load in class AbstractSimplePortObjectmodel - To load from.spec - The accompanying spec (which can be safely cast to the
expected class).exec - For progress/cancelation.
InvalidSettingsException - If settings are incomplete/deficient.
CanceledExecutionException - If canceled.
protected void save(ModelContentWO model,
ExecutionMonitor exec)
throws CanceledExecutionException
save in class AbstractSimplePortObjectmodel - To save to.exec - For progress/cancelation.
CanceledExecutionException - If canceled.public PortObjectSpec getSpec()
PortObjectSpec which is used to configure any successor node
after execution, e.g. a BufferedDataTable can return a
DataTableSpec.
Subclasses should narrow the return type if possible.
PortObjectSpec or any derived spec,
never null.public String getSummary()
PortObject.
The return value will be shown in a node port's tooltip, for instance.
public void setSota(SotaManager sota)
SotaManager.
sota - The SotaManager to set.public SotaManager getSota()
public SotaTreeCell getSotaRoot()
public String getDistance()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||