|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcreek.cke.importexport.KnowledgeModelExportUtilities
Some general methods used to ease the export process.
Constructor Summary | |
KnowledgeModelExportUtilities(KnowledgeModel km)
The constructor that only sets the JavaCreek Knowledge Model to use in the export process. |
Method Summary | |
java.lang.String |
getImportance(double importance,
boolean includeDefault)
Gets the discrete variable of the double value as a string of. |
java.lang.String |
getPredictiveStrength(double predictiveStrength,
boolean includeDefault)
Gets the discrete variable of the double value as a string of. |
java.lang.String |
getStrength(double strength,
boolean includeDefault)
Gets tyhe string representation of the strength value. |
boolean |
hasLength(java.lang.String text)
Determines if a text is a text and not equal 'null' or of length 0. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public KnowledgeModelExportUtilities(KnowledgeModel km)
km
- the JavaCreek Knowledge Model that the data should
be exported fromMethod Detail |
public boolean hasLength(java.lang.String text)
text
- the text to check
public java.lang.String getStrength(double strength, boolean includeDefault)
strength
- the value to convertincludeDefault
- if set to false, then if the value is the default
value or out of range then 'null' will be returned, otherwise the real value
will be returned.
public java.lang.String getImportance(double importance, boolean includeDefault)
importance
- the value to convertincludeDefault
- if set to false, then if the value is the default
value or out of range then 'null' will be returned, otherwise the real value
will be returned.
ActivationConstants
public java.lang.String getPredictiveStrength(double predictiveStrength, boolean includeDefault)
predictiveStrength
- the value to convertincludeDefault
- if set to false, then if the value is the default
value or out of range then 'null' will be returned, otherwise the real value
will be returned.
ActivationConstants
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |