public void addRelation ( RelationType relationType , RelationDirection direction ) { int idx = relationType . ordinal ( ) ; directions [ idx ] = directions [ idx ] . sum ( direction ) ; }
Adds eventually merging a direction for the specified relation type