|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectabsurdist.ConceptSystem
gui.ConceptGraph
Class ConceptGraph: Visual representation of a concept system as a graph.
| Field Summary | |
(package private) int |
height
width and height of its bound |
(package private) int |
width
width and height of its bound |
(package private) int |
x
top-left corner of its bound |
(package private) int |
y
top-left corner of its bound |
| Fields inherited from class 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 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 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
int x
int y
int width
int height
| 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 | |||||||||