2012-03-04 07:31:04 -05:00
|
|
|
/**
|
|
|
|
* Returns the requesetd type of set
|
|
|
|
*/
|
|
|
|
rectest.set.SetFactory = Class( 'SetFactory',
|
|
|
|
{
|
2012-03-04 08:12:31 -05:00
|
|
|
'public fromId': function( id, base_set, sample_size )
|
2012-03-04 07:31:04 -05:00
|
|
|
{
|
|
|
|
var sets = rectest.set;
|
|
|
|
|
|
|
|
return [
|
|
|
|
null,
|
|
|
|
sets.RandomGroupedSet,
|
|
|
|
null,
|
|
|
|
null
|
2012-03-04 08:12:31 -05:00
|
|
|
][ id ]( base_set, sample_size );
|
2012-03-04 07:31:04 -05:00
|
|
|
}
|
|
|
|
} );
|