edu.ucla.belief.decision
Class ParameterImpl

Object
  extended by ParameterImpl
All Implemented Interfaces:
Parameter

public class ParameterImpl
extends Object
implements Parameter

Since:
120804
Author:
Keith Cascio

Field Summary
static byte[] ARRAY_ID_ALPHABET
           
static int INT_ALPHABET_LAST_INDEX
           
static int INT_ALPHABET_LENGTH
           
static int INT_ALPHABET_LENGTH_PLUS
           
static String STR_ID_ALPHABET
           
 
Constructor Summary
ParameterImpl(int seed, double value)
           
ParameterImpl(String id, double value)
           
 
Method Summary
 String getID()
           
 double getValue()
           
static String makeID(int seed)
           
static String makeIDLinear(int seed)
           
static String makeIDRec(int seed)
           
static String makeIDRecursive(int seed)
           
 void setID(String newid)
           
 void setValue(double newval)
           
static double sum(Collection parameters)
           
 String toString()
           
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

STR_ID_ALPHABET

public static final String STR_ID_ALPHABET
See Also:
Constant Field Values

ARRAY_ID_ALPHABET

public static final byte[] ARRAY_ID_ALPHABET

INT_ALPHABET_LENGTH

public static final int INT_ALPHABET_LENGTH

INT_ALPHABET_LAST_INDEX

public static final int INT_ALPHABET_LAST_INDEX

INT_ALPHABET_LENGTH_PLUS

public static final int INT_ALPHABET_LENGTH_PLUS
Constructor Detail

ParameterImpl

public ParameterImpl(String id,
                     double value)

ParameterImpl

public ParameterImpl(int seed,
                     double value)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

setValue

public void setValue(double newval)
Specified by:
setValue in interface Parameter

getValue

public double getValue()
Specified by:
getValue in interface Parameter

getID

public String getID()
Specified by:
getID in interface Parameter

setID

public void setID(String newid)
Specified by:
setID in interface Parameter

sum

public static double sum(Collection parameters)
Since:
011505

makeID

public static String makeID(int seed)

makeIDRecursive

public static String makeIDRecursive(int seed)

makeIDRec

public static String makeIDRec(int seed)

makeIDLinear

public static String makeIDLinear(int seed)


Copyright 2010 UCLA Automated Reasoning Group