|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object comirva.config.ProbabilisticNetworkConfig
public class ProbabilisticNetworkConfig
This class represents a configuration for a Probabilistic-Network-Visualization. It is used to pass a configuration to the visualization pane.
Constructor Summary | |
---|---|
ProbabilisticNetworkConfig(int maxEdgeThickness,
int maxDistReduction,
int maxVertexDiameter,
int minVertexDiameter,
double probCorrection,
int adaptationRunsEpochs,
double adaptationThreshold,
int gridSize)
Creates a new instance of a Probabilistic-Network-Configuration. |
Method Summary | |
---|---|
int |
getAdaptationRunsEpochs()
Returns the number of iterations in epochs the adaptation process is performed. |
double |
getAdaptationThreshold()
Returns the adaptation threshold. |
int |
getGridSize()
Returns the grid size used for vertex placement. |
int |
getMaxDistReduction()
Returns the maximum distance reduction between two data points in the adaptation process. |
int |
getMaxEdgeThickness()
Returns the maximum thickness for an edge. |
int |
getMaxVertexDiameter()
Returns the maximum vertex diameter for a data point. |
int |
getMinVertexDiameter()
Returns the minimum vertex diameter for a data point. |
double |
getProbCorrection()
Returns the probability correction for drawing edges. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProbabilisticNetworkConfig(int maxEdgeThickness, int maxDistReduction, int maxVertexDiameter, int minVertexDiameter, double probCorrection, int adaptationRunsEpochs, double adaptationThreshold, int gridSize)
maxEdgeThickness
- the maximum thickness of an edgemaxDistReduction
- the maximum distance reduction between two vertices in each adaptation iterationmaxVertexDiameter
- the maximum diameter for the data points (vertices)minVertexDiameter
- the minimum diameter for the data points (vertices)probCorrection
- the probability correction (PC) for drawing edges; edge(i,j) is drawn if similarity(i,j) > randomValue[0,1]*PCadaptationRunsEpochs
- the number of adaptation iterations in epochs (1 epoch = number of data items ^ 2 runs)adaptationThreshold
- adaptation threshold (AT); distance(i,j) is adapted only if similarity(i,j) > ATgridSize
- the grid size in pixels; data points are snapped to the grid automaticallyMethod Detail |
---|
public int getMaxEdgeThickness()
public int getMaxDistReduction()
public int getMaxVertexDiameter()
public int getMinVertexDiameter()
public double getProbCorrection()
i
and j
is drawn
with a probability that equals the similarity between i
and j
multiplied
with the probability correction.
public int getAdaptationRunsEpochs()
numberOfDataItems^2
times.
public double getAdaptationThreshold()
i, j
that have a similarity
greater than the adaptation threshold.
public int getGridSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |