edu.mit.util.ling
Class CountsManager

java.lang.Object
  extended by edu.mit.util.ling.CountsManager

public class CountsManager
extends Object


Constructor Summary
CountsManager()
           
 
Method Summary
static double[] addToCounts(double[] counts, int[] obs, double weight)
           
static double[] addToCounts(double[] counts, int[] obs, double weight, int start, int end)
           
static int[] addToCounts(int[] counts, int[] obs, int weight)
           
static int[] addToCounts(int[] counts, int[] obs, int weight, int start, int end)
           
static double[] addToCountsFirst(double[] counts, int[] obs, double weight)
           
static int[] addToCountsFirst(int[] counts, int[] obs, int weight)
           
static double[] addToCountsRest(double[] counts, int[] obs, double weight)
           
static int[] addToCountsRest(int[] counts, int[] obs, int weight)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CountsManager

public CountsManager()
Method Detail

addToCounts

public static double[] addToCounts(double[] counts,
                                   int[] obs,
                                   double weight)

addToCountsFirst

public static double[] addToCountsFirst(double[] counts,
                                        int[] obs,
                                        double weight)

addToCountsRest

public static double[] addToCountsRest(double[] counts,
                                       int[] obs,
                                       double weight)

addToCounts

public static double[] addToCounts(double[] counts,
                                   int[] obs,
                                   double weight,
                                   int start,
                                   int end)

addToCounts

public static int[] addToCounts(int[] counts,
                                int[] obs,
                                int weight)

addToCountsFirst

public static int[] addToCountsFirst(int[] counts,
                                     int[] obs,
                                     int weight)

addToCountsRest

public static int[] addToCountsRest(int[] counts,
                                    int[] obs,
                                    int weight)

addToCounts

public static int[] addToCounts(int[] counts,
                                int[] obs,
                                int weight,
                                int start,
                                int end)


Copyright © 2008 MIT. All Rights Reserved.