|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--edu.iu.pcl.absurdist.absurdist.ConceptSystem
|
+--edu.iu.pcl.absurdist.gui.ConceptGraph
Class ConceptGraph: Visual representation of a concept system as a graph.
| Field Summary |
| Fields inherited from class edu.iu.pcl.absurdist.absurdist.ConceptSystem |
anchors, categories, concepts, DIRECTED, MIXED, models, name, relations, UNDIRECTED |
| Constructor Summary | |
ConceptGraph(ConceptSystem system,
int x,
int y,
int width,
int height)
Creates a concept graph from a concept system. |
|
| Method Summary | |
RelationLink |
getLink(int i,
int j,
java.lang.String label)
Gets the relation link of the specified label between concept node i and concept node j. |
java.util.Vector |
getLinks(int i,
int j)
Gets the relation link list between concept node i and concept node j. |
ConceptNode |
getNode(int i)
Gets the ith concept node. |
void |
paint(java.awt.Graphics2D g)
Paints the object. |
java.lang.String |
toString()
Returns a string representation of this concept system. |
| Methods inherited from class edu.iu.pcl.absurdist.absurdist.ConceptSystem |
addAnchor, addCategory, addConcept, addModel, addNoise, allAnchorCnt, anchorOverlap, getCategory, getCategoryIndex, getCategoryNum, getConcept, getConcept, getConceptIndex, getConceptIndex, getConceptNum, getKey, getModel, getModel, getModelIndex, getModelIndex, getModelNum, getRelation, getRelation, getRelations, getRelListNum, isCategorized, isDirected, isLabeled, isRanked, isSimple, isValued, isWeighted, putRelation, putRelation, putRelations, readBin, readTxt, removeRelation, removeRelations, simpleConcepts, simpleRelations, writeBin |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ConceptGraph(ConceptSystem system,
int x,
int y,
int width,
int height)
| Method Detail |
public ConceptNode getNode(int i)
public java.util.Vector getLinks(int i,
int j)
public RelationLink getLink(int i,
int j,
java.lang.String label)
public void paint(java.awt.Graphics2D g)
public java.lang.String toString()
ConceptSystem
toString in class ConceptSystem
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||