Quick links: Examples - Files.
Classes: Hierarchy - Index - List - Members.
Packages: Index - base - jni.

Public Member Functions | List of all members
cogitant.base.Projection Interface Reference

Projection. More...

Inherited by cogitant.jni.Projection.

Public Member Functions

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

Detailed Description

Projection.

Member Function Documentation

◆ antecedentOf()

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

Antecedent of a node graph.

Parameters
seconda node of graphTo().
Returns
an antecedent of second.

◆ graphFrom()

Graph cogitant.base.Projection.graphFrom ( )

◆ graphTo()

Graph cogitant.base.Projection.graphTo ( )

◆ imageOf()

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

Image of an object.

Parameters
firsta node of graphFrom().
Returns
the image of first.

◆ newCouple()

void cogitant.base.Projection.newCouple ( GraphObject  first,
GraphObject  second 
)

Adds a new couple.

◆ replaceImage()

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().

◆ setGraphs()

void cogitant.base.Projection.setGraphs ( Graph  from,
Graph  to 
)