Package | Description |
---|---|
actorplugin |
Classes supporting the plugin interface for actors.
|
cgfca | |
cgif.generate |
Classes for the main translation work for CGIF.
|
charger |
The top level package for the editor.
|
charger.act |
Classes related to actor operations, activation and graph updating.
|
charger.cgx |
Classes for reading and writing CharGer graphs in XML format.
|
charger.gloss.wn |
Support for the glossary abstractions as derived from WordNet.
|
charger.layout |
Classes related to automatic re-arranging the appearance of Charger graphs.
|
charger.obj |
Classes for the graph objects themselves.
|
charger.util |
Utility classes for CharGer, dealing with fonts, strings and other general-purpose things.
|
craft |
Classes for the Conceptual Requirements Acquisition and Formation Tool.
|
kb |
Classes for managing CharGer or CRAFT elements as knowledge sources.
|
kb.hierarchy |
Classes for managing and manipulating type and relation hierarchies.
|
kb.matching |
Classes to support various matching purposes.
|
repgrid.tracks |
Classes to extend repertory grids into Tracked Repertory Grids.
|
Modifier and Type | Field and Description |
---|---|
(package private) GNode |
CounterPlugin.gnodeToUpdate |
(package private) GNode |
PulsePlugin.gnodeToUpdate |
Modifier and Type | Field and Description |
---|---|
(package private) ArrayList<GNode> |
Path.path |
Modifier and Type | Method and Description |
---|---|
GNode |
Path.firstNode() |
GNode |
Path.lastNode() |
Modifier and Type | Method and Description |
---|---|
protected <T> void |
CGIFWriter.writeLinkingNodes(List<? extends GNode> nodes,
String currIndent)
Writes the specified nodes that link concepts (Actor or Relation) to the
output stream of this class using the standard CGIF format.
|
Modifier and Type | Field and Description |
---|---|
(package private) GNode |
EditFrame.currentNode
used so that mousepressed and mousereleased can communicate
|
Modifier and Type | Method and Description |
---|---|
static GNode |
IOManager.hookUp(GEdge ge,
GraphObjectID oldID,
Graph gr,
boolean keepIDs)
uses the old-to-new mapping to attach an edge to its new ends
|
Modifier and Type | Field and Description |
---|---|
private GNode |
GraphUpdater.GNodeToUpdate |
Modifier and Type | Method and Description |
---|---|
void |
GraphUpdater.propagate(GNode gn)
Notifies this graph updater that a particular node has changed and
requires updating.
|
private void |
GraphUpdater.setGNode(GNode gn) |
void |
GraphUpdater.updateCoref(GNode gn,
Coref c)
If a referent is changed, then we update the referents of any
coreferenced concepts.
|
void |
GraphUpdater.updateGNode(GNode gn)
Performs whatever update or validate routine required for the given node.
|
Modifier and Type | Method and Description |
---|---|
private static String |
CGXGenerator.typeInfoXML(GNode con,
String indent) |
Modifier and Type | Method and Description |
---|---|
boolean |
WordnetManager.attachDescriptor(AbstractTypeDescriptor[] ds,
GNode gn)
Associates a set of descriptors with a particular object.
|
boolean |
WordnetManager.attachDescriptor(AbstractTypeDescriptor descr,
GNode gn)
Associates a descriptor with a particular object.
|
boolean |
WordnetManager.forgetDescriptors(GNode gn)
Sets the descriptor to null for this GNode.
|
Modifier and Type | Field and Description |
---|---|
(package private) GNode[][] |
SimpleGraphLayout.grid
A 2-dimensional grid for laying out nodes.
|
Modifier and Type | Field and Description |
---|---|
private HashMap<GNode,Point2D.Double> |
SpringGraphLayout.nodeDisplacements
Displacement is represented as a "point" where the x value is dx and the
y value is dy.
|
private HashMap<GNode,Point2D.Double> |
SpringGraphLayout.nodeForces |
private HashMap<GNode,Point2D.Double> |
SpringGraphLayout.nodePositions
Keeps track of each node's displacement (movement) at each iteration.
|
private ArrayList<GNode> |
SpringGraphLayout.nodes |
Modifier and Type | Method and Description |
---|---|
Point2D.Double |
SpringGraphLayout.coulomb_force(GNode thisnode,
GNode other)
Given two nodes, calculates the coulomb force that repels them.
|
double |
SpringGraphLayout.getClippedLength(GNode node1,
GNode node2)
Considers the shape (from the original graph) returns the distance
between the clipping points of a center-to-center line between the
objects.
|
private Rectangle2D.Double |
SpringGraphLayout.inferCurrentDisplayRect(GNode node)
Uses the height and width of the node's display rectangle, but infers
(from its new proposed center point) the rectangle it would form in its
nodePositions location.
|
double |
SpringGraphLayout.mass(GNode gn)
Allows the algorithm to adjust for varying "sizes" of nodes.
|
void |
SimpleGraphLayout.placeObjectInGrid(GNode node,
int row,
int col) |
Modifier and Type | Method and Description |
---|---|
private void |
SpringGraphLayout.zeroOutVectors(HashMap<GNode,Point2D.Double> points)
convenience method for re-setting the hashmaps after each relaxation.
|
Modifier and Type | Class and Description |
---|---|
class |
Actor
Implements the actor construct.
|
class |
Concept
Implements the concept construct.
|
class |
Graph
A Graph stores zero or more graph objects.
|
class |
Note
An arbitrary text node to annotate a graph.
|
class |
Relation
Implements the conceptual relation construct.
|
class |
RelationLabel
Implements the relation type construct in a hierarchy.
|
class |
TypeLabel
Implements the type construct in a hierarchy.
|
Modifier and Type | Method and Description |
---|---|
ArrayList<GNode> |
GNode.getLinkedNodes()
A convenience method to get all linked nodes, regardless
of whether they are "input" or "output".
|
ArrayList<GNode> |
GNode.getLinkedNodes(GEdge.Direction direction)
Returns a list of GNodes depending on whether they are "from" or "to"
the calling node.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
GEdge.areLinked(GNode go1,
GNode go2)
Determines whether the two charger nodes are linked together, by any
GEdge.
|
GEdge.Direction |
GEdge.howLinked(GNode gn)
Tells which end of the current link (if either) is the given GNode.
|
GraphObject |
GEdge.linkedTo(GNode gn)
Tells whether the given node is linked at all with this GEdge.
|
Modifier and Type | Method and Description |
---|---|
static GNode |
CGUtil.closestObject(ArrayList<GNode> nodes,
Point2D.Double point)
Finds the object in the list that is closest to the point given
|
Modifier and Type | Method and Description |
---|---|
static ArrayList<ArrayList<GNode>> |
CGUtil.getConnectedComponents(Graph g)
Used in determining connected components.
|
Modifier and Type | Method and Description |
---|---|
private static void |
CGUtil.labelConnectedNodes(HashMap<GNode,Integer> componentLabels,
GNode startNode,
int componentNum)
Start by labeling the start node and then recursively find all the others
|
Modifier and Type | Method and Description |
---|---|
static GNode |
CGUtil.closestObject(ArrayList<GNode> nodes,
Point2D.Double point)
Finds the object in the list that is closest to the point given
|
static Point2D.Double |
CGUtil.getCenterPoint(ArrayList<GNode> nodes)
Finds the center of the bounding rectangle that enclosed all the nodes
|
private static void |
CGUtil.labelConnectedNodes(HashMap<GNode,Integer> componentLabels,
GNode startNode,
int componentNum)
Start by labeling the start node and then recursively find all the others
|
Modifier and Type | Field and Description |
---|---|
private GNode |
CraftWindow.relation |
Modifier and Type | Method and Description |
---|---|
static String |
Reporter.natLang(GNode r,
boolean includeDefinitions)
Prepare a natural language rendition of the given relation, including its
concepts.
|
void |
CraftWindow.performShowSubgraph(Concept c1,
GNode rel,
Concept c2)
Locate the conceptual relation represented in the table and "select" it
in its corresponding EditFrame.
|
Modifier and Type | Field and Description |
---|---|
GNode |
BinaryTuple.relation
The actual relation (or actor) associated with this tuple.
|
Modifier and Type | Field and Description |
---|---|
(package private) HashMap<String,GNode> |
CoreferenceSet.members |
Modifier and Type | Method and Description |
---|---|
GNode |
BinaryTuple.getRelation() |
Modifier and Type | Method and Description |
---|---|
void |
CoreferenceSet.addMember(GNode newMember) |
static String |
ConceptManager.makeSentence(Concept c1,
GNode rel,
Concept c2)
Makes a matching schemme suitable for matching binary relations with the
target graph.
|
static String |
ConceptManager.makeSentenceOLD(Concept c1,
GNode rel,
Concept c2) |
protected static ArrayList |
ConceptManager.makeTableEntryArrayList(Concept c1,
GNode rel,
Concept c2,
ConceptManager.ConceptsToInclude selector)
Constructs a single table entry from a charger concept-relation-concept
set.
|
void |
BinaryTuple.setRelation(GNode relation) |
private static boolean |
ConceptManager.swapBinaryRelation(Concept c1,
GNode rel,
Concept c2)
Decides heuristically whether to exchange the sense of the relationship,
regardless of the arrow direction.
|
Constructor and Description |
---|
BinaryTuple(Concept c1,
GNode r,
Concept c2) |
Constructor and Description |
---|
CoreferenceSet(ArrayList<GNode> nodes) |
Modifier and Type | Method and Description |
---|---|
boolean |
TypeHierarchy.addSubtypeToType(GNode subtypeObject,
GNode supertypeObject)
Adds the label of the supertype to the hierarchy if it isn't there.
|
Constructor and Description |
---|
MatchedBinaryTuple(Concept c1,
GNode r,
Concept c2) |
Modifier and Type | Field and Description |
---|---|
GNode |
TrackedRepertoryGrid.relation
Either a relation or an actor
|
Constructor and Description |
---|
TrackedRepertoryGrid(Concept c1,
GNode r,
Concept c2,
RGValue type) |