Public Member Functions

cogitant.base.GraphSubset Interface Reference

Subset of nodes of a Graph. More...

Inheritance diagram for cogitant.base.GraphSubset:

List of all members.

Public Member Functions

void setGraph (Graph g)
void select (GraphObject go)
 Add a node.
void deselect (GraphObject go)
 Delete a node.
boolean has (GraphObject go)
 Does the subset contain the given node.
void clear ()
 Clear the subset.
boolean empty ()
 Is the subset empty?

Detailed Description

Subset of nodes of a Graph.


Member Function Documentation

void cogitant.base.GraphSubset.clear ( )

Clear the subset.

Implemented in cogitant.jni.GraphSubset.

void cogitant.base.GraphSubset.deselect ( GraphObject  go)

Delete a node.

boolean cogitant.base.GraphSubset.empty ( )

Is the subset empty?

Implemented in cogitant.jni.GraphSubset.

boolean cogitant.base.GraphSubset.has ( GraphObject  go)

Does the subset contain the given node.

void cogitant.base.GraphSubset.select ( GraphObject  go)

Add a node.

void cogitant.base.GraphSubset.setGraph ( Graph  g)