ls
Class CliqueSet

java.lang.Object
  |
  +--ls.CliqueSet

public class CliqueSet
extends java.lang.Object

This class contains the configuration, fi, and probability values for a clique.


Constructor Summary
CliqueSet(java.util.Vector configuration)
          Creats a new CliqueSet with a specificed configuration.
CliqueSet(java.util.Vector configuration, double phi, double probability)
          Creates a new CliqueSet with the specified vaules.
 
Method Summary
 void addConfiguration(java.lang.Object o)
           
 void clearConfiguration()
           
 int getBitmask()
          Returns the bitmask
 java.util.Vector getConfiguration()
          Returns the configurations.
 java.lang.Object getConfiguration(int index)
           
 double getPhi()
          Returns the phi value.
 double getProbability()
          Returns the probability.
 void setBitmask(int newBitmask)
          Sets the bitmask
 void setPhi(double phi)
          Sets the phi value.
 void setProbability(double probability)
          Sets the probability.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CliqueSet

public CliqueSet(java.util.Vector configuration)
Creats a new CliqueSet with a specificed configuration.
Parameters:
configuration - a specified configuration

CliqueSet

public CliqueSet(java.util.Vector configuration,
                 double phi,
                 double probability)
Creates a new CliqueSet with the specified vaules.
Parameters:
o - the configuration
fi - the fi value
probability - the probability
Method Detail

clearConfiguration

public void clearConfiguration()

addConfiguration

public void addConfiguration(java.lang.Object o)

getConfiguration

public java.util.Vector getConfiguration()
Returns the configurations.
Returns:
configuration - the configuration

getConfiguration

public java.lang.Object getConfiguration(int index)
                                  throws IllegalCliqueIndexException

setPhi

public void setPhi(double phi)
Sets the phi value.
Parameters:
product - the phi value.

getPhi

public double getPhi()
Returns the phi value.
Returns:
product

setProbability

public void setProbability(double probability)
Sets the probability.
Parameters:
probability - the probability

getProbability

public double getProbability()
Returns the probability.
Returns:
probability - the probability

setBitmask

public void setBitmask(int newBitmask)
Sets the bitmask
Parameters:
newBitmask - the new bit mask

getBitmask

public int getBitmask()
Returns the bitmask
Returns:
bitmask - the bitmask