returns the complementary relation for a relation . the complement relation is defined according to the strictness hierarchy of relations : order - > reverse order reverse order - > order exclusiveness - > interleaving interleaving - > exclusiveness concode_field_sep int RELATION_FAR_LOOKAHEAD concode_elem_sep List<N> entities concode_elem_sep int lookAhead concode_elem_sep M model concode_elem_sep RelSetType[][] matrix concode_field_sep M getModel concode_elem_sep boolean equalsForSharedEntities concode_elem_sep String getSymbolForRelation concode_elem_sep RelSetType getRelationForEntities concode_elem_sep RelSet<M,N> getComplement concode_elem_sep boolean isEmpty concode_elem_sep HashMap<RelSetType,HashSet<String>> getRelationsByType concode_elem_sep Collection<N> getEntitiesInRelation concode_elem_sep boolean areExclusive concode_elem_sep int getLookAhead concode_elem_sep void setLookAhead concode_elem_sep void printAllEntities concode_elem_sep RelSetType[][] getMatrix concode_elem_sep boolean areInterleaving concode_elem_sep boolean equals concode_elem_sep List<N> getEntities concode_elem_sep void setMatrix concode_elem_sep String toString concode_elem_sep boolean areInOrder concode_elem_sep RelSetType getRelationForIndex concode_elem_sep RelSetType getReverseRelation
RelSetType function ( RelSetType arg0 ) { if ( arg0 . equals ( RelSetType . Order ) ) return RelSetType . ReverseOrder ; if ( arg0 . equals ( RelSetType . ReverseOrder ) ) return RelSetType . Order ; if ( arg0 . equals ( RelSetType . Interleaving ) ) return RelSetType . Exclusive ; return RelSetType . Interleaving ; }