ral.lang
Interface UndirectedRelationship<FROM,T extends Pair<FROM,FROM>>

All Superinterfaces:
MultiRelationship<FROM,FROM,T>, ReflexiveRelationship<FROM,T>, UniMultiRelationship<FROM,FROM,T>

public interface UndirectedRelationship<FROM,T extends Pair<FROM,FROM>>
extends ReflexiveRelationship<FROM,T>

An undirected relationship corresponds to the notion of a directed graph from graph theory. Essentially, it is a reflexive with a twist: creating a pair automatically creates the reverse . Thus, the primary difference from a normal reflexive relationship is that both edge directions are always present.


Method Summary
 
Methods inherited from interface ral.lang.ReflexiveRelationship
clear
 
Methods inherited from interface ral.lang.MultiRelationship
clearTo, copyTo, to, toPairs
 
Methods inherited from interface ral.lang.UniMultiRelationship
add, clearFrom, copyFrom, from, fromPairs, get, remove, remove