public class DegreeSequence
extends java.lang.Object
Constructor and Description |
---|
DegreeSequence(int[] degs) |
Modifier and Type | Method and Description |
---|---|
int |
degreeAt(int index) |
boolean |
equals(java.lang.Object o) |
boolean |
isGreaterThan(DegreeSequence other)
Compares two degree sequences.
|
boolean |
isGreaterThanWithTolerance(DegreeSequence other,
int tolerance) |
int |
maxDegree() |
int |
minDegree() |
public int maxDegree()
public int degreeAt(int index)
public int minDegree()
public boolean isGreaterThan(DegreeSequence other)
other
- public boolean isGreaterThanWithTolerance(DegreeSequence other, int tolerance)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object