babase.ranker
Class StatsPanel.Stats

java.lang.Object
  extended by babase.ranker.StatsPanel.Stats
Enclosing class:
StatsPanel

public static class StatsPanel.Stats
extends java.lang.Object


Field Summary
protected  java.util.ArrayList<java.lang.Integer> iWithMaxReversalDistance
           
protected  java.util.ArrayList<java.lang.Integer> iWithMaxReversalMagnitude
           
protected  java.util.ArrayList<java.lang.Integer> jWithMaxReversalDistance
           
protected  java.util.ArrayList<java.lang.Integer> jWithMaxReversalMagnitude
           
protected  int maxReversalDistance
          Maximum difference in ranks (i.e., j-i) among posititve entries below diagonal (0 if there are no positive entries below diagonal):
protected  int maxReversalMagnitude
          Maximum value among positive entries below diagonal (0 if there are no positive entries below diagonal).
protected  int numPairsReversed
          Number of positive entries below diagonal.
protected  int numPairsSignificantlyReversed
          Number of entries below diagonal greater than 1.
 
Constructor Summary
StatsPanel.Stats(Ranking ranks, int[][] matrix)
           
 
Method Summary
 void compute(Ranking ranks, int[][] matrix)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

numPairsReversed

protected int numPairsReversed
Number of positive entries below diagonal.


numPairsSignificantlyReversed

protected int numPairsSignificantlyReversed
Number of entries below diagonal greater than 1.


maxReversalMagnitude

protected int maxReversalMagnitude
Maximum value among positive entries below diagonal (0 if there are no positive entries below diagonal).


iWithMaxReversalMagnitude

protected java.util.ArrayList<java.lang.Integer> iWithMaxReversalMagnitude

jWithMaxReversalMagnitude

protected java.util.ArrayList<java.lang.Integer> jWithMaxReversalMagnitude

maxReversalDistance

protected int maxReversalDistance
Maximum difference in ranks (i.e., j-i) among posititve entries below diagonal (0 if there are no positive entries below diagonal):


iWithMaxReversalDistance

protected java.util.ArrayList<java.lang.Integer> iWithMaxReversalDistance

jWithMaxReversalDistance

protected java.util.ArrayList<java.lang.Integer> jWithMaxReversalDistance
Constructor Detail

StatsPanel.Stats

public StatsPanel.Stats(Ranking ranks,
                        int[][] matrix)
Method Detail

compute

public void compute(Ranking ranks,
                    int[][] matrix)