|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcreek.reasoning.EntityComparison
jcreek.reasoning.PartitionComparison
Field Summary |
Fields inherited from class jcreek.reasoning.EntityComparison |
ACTIVATED_STATUS, activationStrength, EXPLAINED_STATUS, explanationStrength, INITIAL_STATUS, INITIAL_STRENGTH, origin, target |
Constructor Summary | |
PartitionComparison(Entity origin,
Entity target)
Creates a new NumberComparison, comparing the origin and target entities given as parameters. |
Method Summary | |
SubModel |
getOverlapModel()
Returns a submodel containing the overlap of the partitions compared by this object. |
SubModel |
getUnionModel()
Returns a submodel containing the overlap of the partitions compared by this object. |
boolean |
isComparable()
Checks if the entities are comparable. |
java.lang.String |
shortExplanation()
Gives a short textual representation (a sentence or so) describing the comparison. |
java.lang.String |
toString()
Returns the string representation of the comparison |
SubModel |
toSubModel()
Returns a submodel of the entities compared. |
double |
updateActivationStrength()
The activation step attempts to find the partitions and measure the similarity between them by comparing the number og relations and entities they have in common to the total number of relations and entities in the target entity's partition. |
double |
updateExplanationStrength()
Nothing is done in the explanation step. |
Methods inherited from class jcreek.reasoning.EntityComparison |
activate, addParallell, addSerial, checkIsComparable, compareTo, createComparison, explain, getActivationStrength, getExplanationStrength, getKnowledgeModel, getOrigin, getPercentageStrength, getStatus, getStatusText, getStrength, getTarget, isActivated, isComparable, isCompletelyMatched, isExplained, isExplainMatched, isPartlyMatched, isUnmatched, reset, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PartitionComparison(Entity origin, Entity target)
Method Detail |
public double updateExplanationStrength()
updateExplanationStrength
in class EntityComparison
public double updateActivationStrength()
updateActivationStrength
in class EntityComparison
public SubModel getUnionModel()
public SubModel getOverlapModel()
public boolean isComparable()
isComparable
in class EntityComparison
public java.lang.String shortExplanation()
EntityComparison
shortExplanation
in class EntityComparison
public java.lang.String toString()
EntityComparison
toString
in class EntityComparison
public SubModel toSubModel()
EntityComparison
toSubModel
in class EntityComparison
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |