org.jgrapht.experimental.isomorphism
Class VertexDegreeEquivalenceComparator.InOutDegrees
java.lang.Object
org.jgrapht.experimental.isomorphism.VertexDegreeEquivalenceComparator.InOutDegrees
- Enclosing class:
- VertexDegreeEquivalenceComparator<V,E>
protected class VertexDegreeEquivalenceComparator.InOutDegrees
- extends Object
Simple structure used to hold the two ints: vertex in degree and vertex
out degree. Useful as returned value for methods which calculate both at
the same time.
- Since:
- Jul 21, 2005
- Author:
- Assaf
Method Summary |
boolean |
equals(Object obj)
Checks both inDegree and outDegree. |
inDegree
public int inDegree
outDegree
public int outDegree
VertexDegreeEquivalenceComparator.InOutDegrees
public VertexDegreeEquivalenceComparator.InOutDegrees(int aInDegree,
int aOutDegree)
equals
public boolean equals(Object obj)
- Checks both inDegree and outDegree. Does not check class type to save
time. If should be used with caution.
- Overrides:
equals
in class Object
- See Also:
Object.equals(java.lang.Object)
Copyright © 2013. All rights reserved.