Uses of Class
jcreek.representation.Relation

Packages that use Relation
jcreek.cke.command   
jcreek.cke.conceptview   
jcreek.cke.document   
jcreek.cke.graph   
jcreek.cke.tool   
jcreek.cke.visualizer   
jcreek.cli   
jcreek.examples   
jcreek.gui   
jcreek.gui.conceptmap   
jcreek.gui.representation   
jcreek.reasoning   
jcreek.representation   
jcreek.representation.cbr   
jcreek.representation.inference   
 

Uses of Relation in jcreek.cke.command
 

Constructors in jcreek.cke.command with parameters of type Relation
ChangeRelationCommand(CreekDocument doc, Relation oldRelation, Relation newRelation)
           
 

Uses of Relation in jcreek.cke.conceptview
 

Methods in jcreek.cke.conceptview that return Relation
 Relation VisualRelation.getRelation()
           
 

Methods in jcreek.cke.conceptview with parameters of type Relation
 boolean VisualRelation.represents(Relation r)
           
 boolean VisualEntity.relationIsActive(Relation relation)
           
 int VisualEntity.getCount(Relation relation)
           
 

Constructors in jcreek.cke.conceptview with parameters of type Relation
VisualRelation(VisualEntity from, VisualEntity to, Relation r)
           
 

Uses of Relation in jcreek.cke.document
 

Methods in jcreek.cke.document with parameters of type Relation
protected  void SerializeGraphDocument.updateModel(Relation c)
           
 

Uses of Relation in jcreek.cke.graph
 

Methods in jcreek.cke.graph that return Relation
 Relation[] GraphModel.getActiveRelations(VisualEntity ved)
          Return the reference to the entity list contained in this graph.
 Relation Edge.getRelation()
           
 Relation[] CreekModel.getActiveRelations(VisualEntity ved)
           
 

Methods in jcreek.cke.graph with parameters of type Relation
 boolean Node.relationIsActive(Relation relation)
           
 int Node.getCount(Relation relation)
           
 boolean GraphModel.removeRelation(Relation rel)
           
 boolean GraphModel.removeRelationList(Relation[] edges)
           
 VisualRelation GraphModel.findVisualRelation(Relation rel)
           
 boolean CreekModel.removeRelation(Relation r)
           
 boolean CreekModel.removeRelationList(Relation[] edges)
           
 VisualRelation CreekModel.findVisualRelation(Relation rel)
           
 

Uses of Relation in jcreek.cke.tool
 

Methods in jcreek.cke.tool with parameters of type Relation
protected  void ZoomTool.activateRelation(Relation r)
           
protected  void MoveTool.activateRelation(Relation r)
           
protected  void BuildTool.activateRelation(Relation r)
           
 

Uses of Relation in jcreek.cke.visualizer
 

Methods in jcreek.cke.visualizer that return Relation
 Relation EntityTableModel.getRelationAt(int row)
           
 

Methods in jcreek.cke.visualizer with parameters of type Relation
static void FrameView.relationAction(Relation activate, javax.swing.JComponent comp)
           
 

Uses of Relation in jcreek.cli
 

Methods in jcreek.cli that return Relation
 Relation CreekJatha.relationToJava(LispValue arg)
           
 

Methods in jcreek.cli with parameters of type Relation
 LispValue CreekJatha.makeRelation(Relation rel)
           
 

Uses of Relation in jcreek.examples
 

Methods in jcreek.examples with parameters of type Relation
static boolean BuildJavaModel.hasRelation(KnowledgeModel km, Relation test)
           
 

Uses of Relation in jcreek.gui
 

Constructors in jcreek.gui with parameters of type Relation
ExplanationView(Relation target)
           
 

Uses of Relation in jcreek.gui.conceptmap
 

Methods in jcreek.gui.conceptmap that return Relation
 Relation VisualRelation.getRelation()
          Returns the relation encapsulated by this VisualRelation.
 

Methods in jcreek.gui.conceptmap with parameters of type Relation
 boolean VisualRelation.represents(Relation r)
          Returns true if the supplied relation is the same as the relation encapsulated by this VisualRelation.
 java.awt.Color DefaultConceptMapController.getRelationColor(Relation relation)
          The color to use when diplaying this relation.
 java.awt.Color DefaultConceptMapController.getRelationSelectedColor(Relation relation)
          The color to use when diplaying this relation.
 java.awt.Color DefaultConceptMapController.getRelationFontColor(Relation entity)
          The color of the font used to draw the relation fonts.
 java.awt.Font DefaultConceptMapController.getRelationFont(Relation relation, double scale)
          The font to use when displaying this entity.
 VisualRelation ConceptMapModel.addRelation(Relation rel)
          Adds a Relation to the ConceptMap by creating a VisualRealtion that is a wrapper for the Relation.
 VisualRelation ConceptMapModel.getVisualRelation(Relation rel)
          Returns the VisualRelation that represents the given relation in this model.
 boolean ConceptMapModel.contains(Relation rel)
          Returns true if this model has an edge representing the given relation.
 java.awt.Color ConceptMapController.getRelationFontColor(Relation entity)
          The color of the font used to draw the relation fonts.
 java.awt.Color ConceptMapController.getRelationSelectedColor(Relation relation)
          The color of a selected relation.
 java.awt.Color ConceptMapController.getRelationColor(Relation relation)
          The color to use when diplaying this relation.
 java.awt.Font ConceptMapController.getRelationFont(Relation relation, double scale)
          The font to use when displaying this entity.
 

Constructors in jcreek.gui.conceptmap with parameters of type Relation
VisualRelation(VisualEntity from, VisualEntity to, Relation relation)
          Creates a new VisualRelation.
RelationTransferable(Relation relation)
          Creates a new Transferrable for the given single Entity.
 

Uses of Relation in jcreek.gui.representation
 

Fields in jcreek.gui.representation declared as Relation
protected  Relation CasePaneElement.relation
           
 

Methods in jcreek.gui.representation that return Relation
 Relation FrameTableModel.relationAt(int row)
           
 Relation[] FrameTableModel.getRelations()
           
 

Methods in jcreek.gui.representation with parameters of type Relation
 void FrameTableModel.removeRelation(Relation rel)
           
 void FrameTableModel.addRelation(Relation rel)
           
 void FrameTableModel.setRelations(Relation[] rels)
           
 void FrameTableModel.updateRelation(Relation rel)
           
static javax.swing.JComponent EntityComponentFactory.getEntityComponent(Relation rel, boolean editable)
          Returns a JComponent that is made to display or edit the value component of the supplied relation.
static javax.swing.JComboBox EntityComponentFactory.getSymbolComboBox(Relation rel, Entity[] values)
           
 void CaseTableModel.setRelations(Relation[] rels)
           
protected  void CasePaneNew.addElementFor(Relation r, CasePaneElement c)
           
protected  CasePaneElement CasePaneNew.getElementFor(Relation r)
           
protected  void CasePaneNew.removeElementFor(Relation r)
           
protected  void CasePane.addElementFor(Relation r, CasePaneElement c)
           
protected  CasePaneElement CasePane.getElementFor(Relation r)
           
protected  void CasePane.removeElementFor(Relation r)
           
 

Constructors in jcreek.gui.representation with parameters of type Relation
FrameTableModel(Relation[] rels)
           
CaseTableModel(boolean showPredImp, Relation[] rels)
           
CasePaneElement(Relation rel)
          Creates a new CasePaneElement.
 

Uses of Relation in jcreek.reasoning
 

Fields in jcreek.reasoning declared as Relation
protected  Relation CaseFindingComparison.fromOrigin
           
protected  Relation CaseFindingComparison.fromTarget
           
 

Methods in jcreek.reasoning that return Relation
 Relation[] SymbolConvergence.getOriginRelations()
          Gives a list of all relations (composite or direct) from the origin case finding to the convergence entity.
 Relation[] SymbolConvergence.getTargetRelations()
          Gives a list of all relations (composite or direct) from the target case finding to the convergence entity.
 Relation CaseFindingComparison.getOriginRelation()
          Returns the finding-relation from the origin (new) case that is the basis of this comparison.
 Relation CaseFindingComparison.getTargetRelation()
          Return the finding-relation from the target (retrieved) case that is the basis of this comparison.
 Relation[] CaseComparison.getOriginRelations()
          Returns all the relations of origin entity of the comparison.
 Relation[] CaseComparison.getOriginRelations(RelationType relationClass)
          Returns all the relations of the given type of origin entity of the comparison.
 Relation[] CaseComparison.getTargetRelations()
          Returns all the relations of the target entity of the comparison.
 Relation[] CaseComparison.getTargetRelations(RelationType relationClass)
          Returns all the relations of the given type of target entity of the comparison.
 Relation[] CaseComparison.getUnmatchedOriginRelations()
          Return the finding-relations in the origin case that are currently not matched with any relations in the target case.
 Relation[] CaseComparison.getUnmatchedTargetRelations()
          Return the finding-relations in the target case that are currently not matched with any relations in the origin case.
 

Methods in jcreek.reasoning with parameters of type Relation
static double CaseComparison.getRelevanceFactor(Relation finding)
           
 boolean CaseComparison.findingsComparable(Relation origin, Relation target)
           
 

Constructors in jcreek.reasoning with parameters of type Relation
CaseFindingComparison(Relation fromOrigin, Relation fromTarget)
          Creates a new CaseFindingComparison comparing the two relations given.
 

Uses of Relation in jcreek.representation
 

Methods in jcreek.representation that return Relation
 Relation[] TemporaryRelationData.getOverrides()
          Returns the relation (if any) this relation overrides.
 Relation[] TemporaryRelationData.getOverridenBy()
          Returns which relations this relation is overriden by.
 Relation TemporaryRelationData.getInverse()
          Returns the inverse of this relation.
 Relation[] SubModel.getRelations()
          Returns an array of all the relations in the submodel.
 Relation[] RelationType.getInstances()
          Returns all instances of this relation type and all of its subclasses.
 Relation RelationType.newInstance(Entity from, Entity to)
          Creates a new relation of the type represented by this RelationType between the two supplied relations.
 Relation RelationType.newInstance(Entity from, Entity to, double explanationStrength)
          Creates a new relation of the type represented by this RelationType between the two supplied relations.
 Relation[] RelationData.getOverrides()
          Returns the relation (if any) this relation overrides.
 Relation[] RelationData.getOverridenBy()
          Returns which relations this relation is overriden by.
 Relation RelationData.getInverse()
          Returns the inverse of this relation.
 Relation Relation.getInverse()
          Returns the reverse of this relation, i.e. the relation going from the target of this relation to the origin of this relation with a relation type that is the inverse of this relation's type.
 Relation[] Relation.getOverridingRelations()
          Returns the relations (if any) this relation overrides.
 Relation[] Relation.getOverridenBy()
          Returns which relations this relation is overriden by.
 Relation Relation.inherit(Entity inheritedTo, ExplanationModel model)
          When inheriting a relation, a copy of the relation is made and returned.
 Relation[] Relation.getOriginal()
          When this relation is an inherited relation, it returnes the original relation it was inherited from.
 Relation[] PartitionData.getRelations()
          Returns all the relations in this partition.
 Relation[] Partition.getRelations()
          Returns an array of all the relations in the submodel.
 Relation[] LocalRelationData.getOverrides()
          Returns the relation (if any) this relation overrides.
 Relation[] LocalRelationData.getOverridenBy()
          Returns which relations this relation is overriden by.
 Relation LocalRelationData.getInverse()
          Returns the inverse of this relation.
 Relation[] LocalPartitionData.getRelations()
          Returns all the relations in this partition.
 Relation LocalKnowledgeModel.getRelation(java.lang.Object id)
          Find a relation in the model with the given ID.
 Relation[] LocalEntityData.getRelationInstances()
          Returns the Relation objects that are of the relation type represented by this entity.
 Relation[] LocalEntityData.getLocalRelations(Entity[] relationTypes)
          Returns the local relations from the entity represented by this object, where the type of each relation must be in the array of relation types supplied to this method.
 Relation[] LocalEntityData.getLocalRelations()
          Returns all the relations from this entity.
 Relation KnowledgeModel.getRelation(java.lang.Object id)
          Find a relation in the model with the given ID.
 Relation[] KnowledgeModel.getRelations()
          Returns an array of all relations in the model.
 Relation[] EntityData.getRelationInstances()
          Returns the Relation objects that are of the relation type represented by this entity.
 Relation[] EntityData.getLocalRelations(Entity[] relationTypes)
          Returns the local relations from the entity represented by this object, where the type of each relation must be in the array of relation types supplied to this method.
 Relation[] EntityData.getLocalRelations()
          Returns all the relations from this entity.
 Relation Entity.addRelation(RelationType relationType, Entity value)
          Adds a relation.
 Relation Entity.addRelation(RelationType relationType, Entity value, double strength)
          Adds a relation with the given strength.
 Relation Entity.addRelation(java.lang.String relationType, Entity value)
          Adds a relation.
 Relation Entity.addRelation(java.lang.String relationType, java.lang.String value)
          Adds a relation with the default strength.
 Relation Entity.addRelation(java.lang.String relationType, Entity value, double explanationStrength)
          Adds a relation with a given strength.
 Relation Entity.addRelation(java.lang.String relationType, java.lang.String value, double explanationStrength)
          Adds a relation with a given strength.
 Relation[] Entity.getLocalRelations(RelationType relationClass)
          Returns all relations of the type relationClass that lead from or to this entity.
 Relation[] Entity.getLocalRelations(java.lang.String relationName)
          Returns all relations from or to this entity with the specified name.
 Relation[] Entity.getLocalRelations(java.lang.String[] relationName)
          Returns all relations from or to this entity with any of the specified names.
 Relation[] Entity.getRelations()
          Returns all relations - local and inherited - for this entity.
 Relation[] Entity.getRelations(java.lang.String relationName)
          Returns all relations from or to this entity with the specified name.
 Relation[] Entity.getRelations(java.lang.String[] relationName)
          Returns all relations from or to this entity with the specified names.
 Relation[] Entity.getRelations(RelationType relationClass)
          Returns all relations - local and inherited - for this entity.
 Relation[] Entity.getRelations(RelationType[] relationClass)
          Returns all relations - local and inherited - for this entity.
 Relation[] Entity.getRelations(RelationType relationClass, InheritanceMethod method)
          Returns all relations - local and inherited - for this entity using the supplied inheritance method.
 Relation[] Entity.getRelations(RelationType[] relationClass, InheritanceMethod method)
          The same as the getRelations(RelationType, InheritanceMethod) method, but it accepts a set of RelationTypes and will return relations with relation-types that match or are subclasses of any of the supplied RelationTypes.
 Relation Entity.getRelation(RelationType rcd)
          Returns the first relation of a given type.
 Relation Entity.getRelation(RelationType[] rcd)
          Returns the first relation in a set of given types.
 Relation Entity.getLocalRelation(RelationType rcd)
          Returns the first relation of a given type (local relations only, no inherited relations).
 Relation Entity.getLocalRelation(RelationType[] rcd)
          Returns the first relation of a given set of types (local relations only, no inherited relations).
 Relation Entity.getRelation(java.lang.String relationName)
          Returns the first relation of a given type.
 Relation Entity.getRelation(java.lang.String[] relationName)
          Given an array of strings, this method retrieves the set of relations where the name of the relation-type (the RelationType) match any of the given relation name, and returns the first from that set.
 Relation Entity.getLocalRelation(java.lang.String relationName)
          Returns the first relation of a given type (only local relations, no inherited relations).
 Relation Entity.getLocalRelation(java.lang.String[] relationName)
          Given an array of strings, this method retrieves the set of local relations where the name of the relation-type (the RelationType) match any of the given relation name, and returns the first from that set.
 Relation Entity.getLocalRelation(RelationType relationType, Entity value)
          Returns the first relation of the given type to the given value.
 Relation Entity.getLocalRelation(RelationType relationType, Entity value, double strength)
          Returns the first relation of the given type to the given value and explanation strength.
 Relation[] Entity.getLocalRelations(RelationType[] types)
          Returns all local relations from or to this entity with any of the specified relation types.
 Relation[] Entity.getLocalRelations()
          Returns all local relations from this entity.
 Relation[] AbstractKnowledgeModel.getRelations()
          Returns an array of all relations in the model.
 

Methods in jcreek.representation with parameters of type Relation
 void TemporaryRelationData.addOverriding(Relation override)
          This relation is market as overriding another relation.
 void TemporaryRelationData.removeOverriding(Relation override)
          Removes a relation from beeing overriden by this relation.
 void TemporaryRelationData.addOverridenBy(Relation override)
          This relation is market as beeing overriden by another relation.
 void TemporaryRelationData.removeOverriddenBy(Relation override)
          Removes a relation from beeing overriden by this relation.
 void TemporaryRelationData.setInverse(Relation inverse)
          Sets the inverse of this relation to be the given relation.
 void SubModel.add(Relation r)
          Adds a relation to the submodel.
 void SubModel.add(Relation[] rels)
          Adds an array of relations to the submodel.
 boolean SubModel.remove(Relation r)
          Removes a relation from the submodel.
 void SubModel.addExpanded(Relation r)
          Adds a relation, but if the relation is composite, the submodel of containing all relations of the composite structure is added instead.
 void SubModel.addExpanded(Relation[] rels)
          Adds an array of relations to the submodel, but if the relation is composite, the submodel of containing all relations of the composite structure is added instead.
 boolean SubModel.contains(Relation rel)
          Returns true if the submodel contains the relation.
 void RelationData.addOverriding(Relation override)
          This relation is market as overriding another relation.
 void RelationData.removeOverriding(Relation override)
          Removes a relation from beeing overriden by this relation.
 void RelationData.addOverridenBy(Relation override)
          This relation is market as beeing overriden by another relation.
 void RelationData.removeOverriddenBy(Relation override)
          Removes a relation from beeing overriden by this relation.
 void RelationData.setInverse(Relation inverse)
          Sets the inverse of this relation to be the given relation.
 void Relation.addOverriding(Relation override)
          This relation is market as overriding another relation.
 void Relation.removeOverriding(Relation override)
          Removes a relation from the list of overridden relations.
protected  void Relation.removeOverriddenBy(Relation rel)
           
protected  void Relation.addOverriddenBy(Relation rel)
           
 boolean Relation.hasOriginal(Relation rel)
          Returns true if the supplied relations is among the originals of this relation.
 void Relation.addOriginal(Relation rel)
          If this relation is inherited, this method adds a relation that is counted as beeing among the originals of this relations.
 void PartitionData.addRelation(Relation relation)
          Adds a relation to this partition.
 boolean PartitionData.removeRelation(Relation relation)
          Removes a relation to the list of relation from this entity.
 boolean PartitionData.hasRelation(Relation relation)
          Returns true if the given relation is a part of this partition.
 void Partition.add(Relation r)
          Adds a relation to the partition.
 void Partition.add(Relation[] rels)
          Adds an array of relations to the partition.
 boolean Partition.remove(Relation r)
          Removes a relation from the partition.
 boolean Partition.contains(Relation rel)
          Returns true if the submodel contains the relation.
 void LocalRelationData.addOverriding(Relation override)
          This relation is market as overriding another relation.
 void LocalRelationData.removeOverriding(Relation override)
          Removes a relation from beeing overriden by this relation.
 void LocalRelationData.addOverridenBy(Relation override)
          This relation is market as beeing overriden by another relation.
 void LocalRelationData.removeOverriddenBy(Relation override)
          Removes a relation from beeing overriden by this relation.
 void LocalRelationData.setInverse(Relation inverse)
          Sets the inverse of this relation to be the given relation.
 void LocalPartitionData.addRelation(Relation relation)
          Adds a relation to this partition.
 boolean LocalPartitionData.removeRelation(Relation relation)
          Removes a relation to the list of relation from this entity.
 boolean LocalPartitionData.hasRelation(Relation relation)
          Returns true if the given relation is a part of this partition.
 boolean LocalKnowledgeModel.hasRelation(Relation relation)
          Returns true if this model contains the supplied relation.
 void LocalEntityData.addRelationInstance(Relation relation)
          Registers a relation as beeing an instance of this entity (which then represents a relation type).
 void LocalEntityData.removeRelationInstance(Relation relation)
          Removes a relation as beeing an instance of this entity (which then represents a relation type).
 void LocalEntityData.addRelation(Relation relation)
          Adds a relation to the list of relations from this entity.
 void LocalEntityData.removeRelation(Relation relation)
          Removes a relation to the list of relation from this entity.
 void EntityData.addRelationInstance(Relation relation)
          Registers a relation as beeing an instance of this entity (which then represents a relation type).
 void EntityData.removeRelationInstance(Relation relation)
          Removes a relation as beeing an instance of this entity (which then represents a relation type).
 void EntityData.addRelation(Relation relation)
          Adds a relation to the list of relations from this entity.
 void EntityData.removeRelation(Relation relation)
          Removes a relation to the list of relation from this entity.
 

Constructors in jcreek.representation with parameters of type Relation
SubModel(Entity[] ents, Relation[] rels)
          Creates a new SubModel from an array of entities and relations to be included in the submodel.
Relation(Entity from, RelationType type, Entity value, Relation override)
          Create a new relation of a given type from an origin entity to a target entity.
 

Uses of Relation in jcreek.representation.cbr
 

Methods in jcreek.representation.cbr that return Relation
 Relation Case.addFinding(java.lang.String relationType, Entity value, double importance, double predictiveStrength)
          Adds a Relation for a Case.
 

Uses of Relation in jcreek.representation.inference
 

Methods in jcreek.representation.inference that return Relation
 Relation[] SortedPlausibleInheritanceMethod.inherit(Entity e)
           
 Relation[] InheritanceMethod.inherit(Entity origin)
           
 Relation Explanation.relationAt(int i)
           
 

Methods in jcreek.representation.inference with parameters of type Relation
 boolean SubclassSpreadingActivationRule.accept(Relation from, Entity target)
           
 boolean SubclassSpreadingActivationRule.accept(Entity from, Relation target)
           
 boolean SubclassInheritanceMethod.accept(Relation target)
           
 boolean SubclassInheritanceMethod.accept(Relation from, Entity next)
           
 boolean SubclassInheritanceMethod.acceptInheritance(Relation target)
           
abstract  boolean SpreadingActivationRule.accept(Relation from, Entity target)
          Returns true if we can accept the Entity target from the Relation from.
abstract  boolean SpreadingActivationRule.accept(Relation target)
          Returns true if we can accept the Relation target.
 boolean PlausibleInheritanceMethod.accept(Relation rel)
           
 boolean PlausibleInheritanceMethod.accept(Relation rel, Entity target)
           
 boolean PlausibleInheritanceMethod.acceptInheritance(Relation target)
           
 boolean PartitionPlausibleInheritanceMethod.accept(Relation rel)
           
 boolean PartitionPlausibleInheritanceMethod.accept(Relation rel, Entity ent)
           
abstract  boolean InheritanceMethod.acceptInheritance(Relation r)
           
 boolean Explanation.contains(Relation rel)
           
 void Explanation.add(Relation r)
          Adds a relation to the end of the exlanation chain.
 



Created at IDI, NTNU by the Artificial Intelligence and Learning group