| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectlio.probdistributions.bitchain.MarginalProducts
public class MarginalProducts
This class stores the probabilities as marginal distributions of subsets of variables as it is done in EcGA proposed by George Harik.
| Constructor Summary | |
|---|---|
MarginalProducts()
 | 
|
| Method Summary | |
|---|---|
 LiOResourceDefinition | 
getDefinition()
Return a LiOResDescription object with the information of each object.  | 
 int[] | 
getSample()
Samples some individuals from a probability distribution  | 
 void | 
learn(Individual[] individuals)
Learns a probability distribution from a set of data  | 
static void | 
main(java.lang.String[] args)
Main method to test the task.  | 
 void | 
print()
Prints the last model learnt.  | 
 Individual[] | 
sample(int nIndividuals)
Samples some individuals from a probability distribution  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public MarginalProducts()
| Method Detail | 
|---|
public void learn(Individual[] individuals)
learn in interface ProbDistributionindividuals - Set of individiduals from which de distribution
 is estimated.public void print()
public int[] getSample()
nIndividuals - Number of individuals that must be sampled.
public Individual[] sample(int nIndividuals)
sample in interface ProbDistributionnIndividuals: - Number of individuals that must be sampled.
public LiOResourceDefinition getDefinition()
getDefinition in interface LiOResourcepublic static void main(java.lang.String[] args)
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||