at.tuwien.ifs.somtoolbox.visualization.comparison
Class Shift
java.lang.Object
at.tuwien.ifs.somtoolbox.visualization.comparison.Shift
- All Implemented Interfaces:
- Comparable<Shift>
public class Shift
- extends Object
- implements Comparable<Shift>
- Version:
- $Id: Shift.java 3883 2010-11-02 17:13:23Z frank $
- Author:
- Doris Baum
Constructor Summary |
Shift()
|
x1
private int x1
y1
private int y1
x2
private int x2
y2
private int y2
count
private int count
percent
private double percent
proportion
private double proportion
breadth
private int breadth
label
private String label
type
private int type
STABLE
public static final int STABLE
- See Also:
- Constant Field Values
ADJACENT
public static final int ADJACENT
- See Also:
- Constant Field Values
OUTLIER
public static final int OUTLIER
- See Also:
- Constant Field Values
CLUSTER
public static final int CLUSTER
- See Also:
- Constant Field Values
Shift
public Shift()
compareTo
public int compareTo(Shift other)
- Specified by:
compareTo
in interface Comparable<Shift>
getLabel
public String getLabel()
getX1
public int getX1()
getX2
public int getX2()
getY1
public int getY1()
getY2
public int getY2()
setCoords
protected void setCoords(int x1,
int y1,
int x2,
int y2)
setLabel
protected void setLabel(String label)
setX1
protected void setX1(int x1)
setX2
protected void setX2(int x2)
setY1
protected void setY1(int y1)
setY2
protected void setY2(int y2)
getType
public int getType()
setType
protected void setType(int type)
getCount
public int getCount()
getProportion
public double getProportion()
setCount
protected void setCount(int count)
setProportion
protected void setProportion(double proportion)
toString
public String toString()
- Overrides:
toString
in class Object
getBreadth
public int getBreadth()
setBreadth
protected void setBreadth(int breadth)
getPercent
public double getPercent()
setPercent
protected void setPercent(double percent)