public interface IntegerRelationMap
Modifier and Type | Method and Description |
---|---|
boolean |
contains(int relationId)
Tells whether a binary relation belongs to this map.
|
boolean |
contains(int relationId,
int first,
int second)
Tells whether a binary relation contains a give pair.
|
IntegerBinaryRelation |
get(int relationId) |
Collection<Integer> |
getByFirst(int relation,
int first)
Returns the elements connecting from a particular element in the first
component.
|
Collection<Integer> |
getBySecond(int relation,
int second)
Returns the elements connecting to a particular element in the second
component.
|
Set<Integer> |
getElements() |
Collection<Integer> |
getRelationsByFirst(int first)
Returns the relations which use a particular element in the first
component.
|
Collection<Integer> |
getRelationsBySecond(int second)
Returns the relations which use a particular element in the second
component.
|
boolean contains(int relationId)
relationId
- relation idtrue
if and only if the binary relation belongs to
this mapboolean contains(int relationId, int first, int second)
relationId
- relation idfirst
- first componentsecond
- second componenttrue
if and only if the pair belongs to the given
relationIntegerBinaryRelation get(int relationId)
relationId
- relation idCollection<Integer> getByFirst(int relation, int first)
relation
- relation idfirst
- first componentCollection<Integer> getBySecond(int relation, int second)
relation
- relation idsecond
- second componentSet<Integer> getElements()
Collection<Integer> getRelationsByFirst(int first)
first
- first componentCollection<Integer> getRelationsBySecond(int second)
second
- second componentCopyright © 2009–2015 Chair of Automata Theory - TU Dresden. All rights reserved.