Public Member Functions

cogitant.base.Projection Interface Reference

Projection. More...

Inheritance diagram for cogitant.base.Projection:

List of all members.

Public Member Functions

void setGraphs (Graph from, Graph to)
Graph graphFrom ()
Graph graphTo ()
GraphObject imageOf (GraphObject first)
 Image of an object.
GraphObject antecedentOf (GraphObject second)
 Antecedent of a node graph.
void newCouple (GraphObject first, GraphObject second)
 Adds a new couple.
void replaceImage (GraphObject oldimage, GraphObject newimage)
 Replace a node by an other one in images.

Detailed Description

Projection.


Member Function Documentation

GraphObject cogitant.base.Projection.antecedentOf ( GraphObject  second)

Antecedent of a node graph.

Parameters:
seconda node of graphTo().
Returns:
an antecedent of second.
Graph cogitant.base.Projection.graphFrom ( )

Implemented in cogitant.jni.Projection.

Graph cogitant.base.Projection.graphTo ( )

Implemented in cogitant.jni.Projection.

GraphObject cogitant.base.Projection.imageOf ( GraphObject  first)

Image of an object.

Parameters:
firsta node of graphFrom().
Returns:
the image of first.
void cogitant.base.Projection.newCouple ( GraphObject  first,
GraphObject  second 
)

Adds a new couple.

void cogitant.base.Projection.replaceImage ( GraphObject  oldimage,
GraphObject  newimage 
)

Replace a node by an other one in images.

After a call to this method, each node that had oldimage as image has now newimage as image.

Parameters:
oldimagea node of graphTo().
newimagea node of graphTo().
void cogitant.base.Projection.setGraphs ( Graph  from,
Graph  to 
)