|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.udo.cs.yale.example.SimplePartitionBuilder
edu.udo.cs.yale.example.ShuffledPartitionBuilder
public class ShuffledPartitionBuilder
Creates a shuffled partition for an example set.
Field Summary | |
---|---|
private java.util.Random |
random
|
Constructor Summary | |
---|---|
ShuffledPartitionBuilder(int seed)
|
Method Summary | |
---|---|
int[] |
createPartition(double[] ratio,
int size)
Returns a shuffled partition for an example set. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.Random random
Constructor Detail |
---|
public ShuffledPartitionBuilder(int seed)
Method Detail |
---|
public int[] createPartition(double[] ratio, int size)
createPartition
in interface PartitionBuilder
createPartition
in class SimplePartitionBuilder
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |