IntegerDomain

public class IntegerDomain implements DistanceDomain<M>

Constructors

Link copied to clipboard
public void IntegerDomain()

Functions

Link copied to clipboard
public boolean equalTo(Integer x, Integer y)
Tells whether the first distance is equivalent to the second
Link copied to clipboard
public Integer infinity()
Maximal allowed distance
Link copied to clipboard
public boolean less(Integer x, Integer y)
Tells whether the first distance is smaller than the second
Link copied to clipboard
public boolean lessOrEqual(Integer x, Integer y)
Tells whether the first distance is smaller or equal to the second.
Link copied to clipboard
public Integer multiply(Integer x, int factor)
Method to combine the metric `x`, `factor` times
Link copied to clipboard
public Integer sum(Integer x, Integer y)
Method to combine two distances
Link copied to clipboard
public Integer zero()
Minimal allowed distance