|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.tuwien.ifs.somtoolbox.reportgenerator.SemanticClass
public class SemanticClass
Field Summary | |
---|---|
int[] |
CenterPoint
|
ArrayList<int[]> |
ClassPartitions
|
private double |
Compactness
|
double[] |
concentrationmix
|
ArrayList |
ConnectedClasses
|
private ArrayList<SemanticNode> |
EdgeNodes
|
int |
index
|
int |
MemberCount
|
ArrayList |
QMIntersectionClassArrayListMAX
|
ArrayList |
QMIntersectionClassArrayListMIN
|
int[] |
regionmix
|
String |
Report
|
ArrayList<SemanticNode> |
SemanticNodes
|
int |
SharedClasses
|
private ArrayList<int[]> |
UnitswithClassList
|
Constructor Summary | |
---|---|
SemanticClass(int index,
ArrayList<int[]> UnitswithClassList)
|
Method Summary | |
---|---|
void |
addConcentrationMix(double[] conc)
|
void |
addNode(SemanticNode s)
|
void |
addRegionMix(int[] regions)
|
void |
calculateClassPartitions()
Lists all different partitions of the class (a Partition is consicered a connected Area of units with no more than 1 as distance between each unit) |
void |
calculateCompactness()
Calculates How much of the class units lie in a radius around the middle point ( this radius is the mean over all distances from the middle point to other class points) |
double |
getCompactness()
|
ArrayList<SemanticNode> |
getEdgeNodes()
|
int[] |
getFurthestMember()
calculates the point with the most distance to the class centre |
ArrayList<String> |
getIntersectionDirections(ArrayList l)
Returns an ArrayList containing directions of the Units given in the ArrayList, measured to the Center of the Class |
private ArrayList<Integer> |
getTrail(int i,
ArrayList<Integer> trail)
Finds a Trail for unit i through the class (all units with distance 1 will be added to one trail) |
boolean |
matchesCompactnessRequirements(EditableReportProperties EP)
Return true, if the Class matches the wanted compactness in the region index |
void |
setClassEdges(ArrayList<SemanticNode> edges)
Sets the Semantic Nodes that were found to be on the edges of the class |
void |
setMeanPoint(int[] mp)
|
void |
setQMIntersectionClassArrayListMAX(ArrayList QMIntersectionClassArrayList)
Sets the setQMIntersectionClassArrayList, containing the Name of the QM on uneven places, and the IntersectionNodes-ArrayList on even Places for Maximum Units of the QM |
void |
setQMIntersectionClassArrayListMIN(ArrayList QMIntersectionClassArrayList)
Sets the setQMIntersectionClassArrayList, containing the Name of the QM on uneven places, and the IntersectionNodes-ArrayList on even Places for Minimum Units of the QM |
void |
setReport(String rep)
|
void |
setSharedClasses(int classes)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int index
public String Report
public int[] CenterPoint
public int SharedClasses
public ArrayList<SemanticNode> SemanticNodes
private ArrayList<int[]> UnitswithClassList
public ArrayList<int[]> ClassPartitions
public ArrayList ConnectedClasses
public int[] regionmix
public double[] concentrationmix
public int MemberCount
private ArrayList<SemanticNode> EdgeNodes
private double Compactness
public ArrayList QMIntersectionClassArrayListMAX
public ArrayList QMIntersectionClassArrayListMIN
Constructor Detail |
---|
public SemanticClass(int index, ArrayList<int[]> UnitswithClassList)
Method Detail |
---|
public void setMeanPoint(int[] mp)
public void calculateClassPartitions()
private ArrayList<Integer> getTrail(int i, ArrayList<Integer> trail)
public void calculateCompactness()
public int[] getFurthestMember()
public void setReport(String rep)
public ArrayList<String> getIntersectionDirections(ArrayList l)
public void addRegionMix(int[] regions)
public void addConcentrationMix(double[] conc)
public void addNode(SemanticNode s)
public void setSharedClasses(int classes)
public double getCompactness()
public boolean matchesCompactnessRequirements(EditableReportProperties EP)
public void setClassEdges(ArrayList<SemanticNode> edges)
public ArrayList<SemanticNode> getEdgeNodes()
public void setQMIntersectionClassArrayListMAX(ArrayList QMIntersectionClassArrayList)
public void setQMIntersectionClassArrayListMIN(ArrayList QMIntersectionClassArrayList)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |