uk.ac.gla.dcs.renaissance.interference
Class Cooccurrences.Statistics

java.lang.Object
  extended by uk.ac.gla.dcs.renaissance.interference.Cooccurrences.Statistics
All Implemented Interfaces:
bpiwowar.utils.iterators.Updatable<Cooccurrences.Statistics>
Enclosing class:
Cooccurrences

public static final class Cooccurrences.Statistics
extends Object
implements bpiwowar.utils.iterators.Updatable<Cooccurrences.Statistics>


Field Summary
 int[] otherOccurences
          Number of times the other word occurs within a window centred around the word
 int[] wordOccurences
          Number of times the word occurs in a document where the other terms also occurs
 
Constructor Summary
Cooccurrences.Statistics()
           
Cooccurrences.Statistics(int oo1, int wo1, int oo2, int wo2)
           
Cooccurrences.Statistics(String string)
           
 
Method Summary
 void add(Cooccurrences.Statistics other)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

wordOccurences

public int[] wordOccurences
Number of times the word occurs in a document where the other terms also occurs


otherOccurences

public int[] otherOccurences
Number of times the other word occurs within a window centred around the word

Constructor Detail

Cooccurrences.Statistics

public Cooccurrences.Statistics(String string)

Cooccurrences.Statistics

public Cooccurrences.Statistics()

Cooccurrences.Statistics

public Cooccurrences.Statistics(int oo1,
                                int wo1,
                                int oo2,
                                int wo2)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

add

public void add(Cooccurrences.Statistics other)
Specified by:
add in interface bpiwowar.utils.iterators.Updatable<Cooccurrences.Statistics>


Copyright © 2011. All Rights Reserved.