+ create: (id <Zone>)aZonesetGenerator: (id <SplitRandomGenerator>)splitGeneratorsetVirtualGenerator: (unsigned)vGensetProbability: (double)p Use this create message if the generator to be attached is a Split one:
+ create: (id <Zone>)aZonesetGenerator: (id <SimpleRandomGenerator>)simpleGeneratorsetProbability: (double)p Use this create message if the generator to be attached is a Simple one:
Phase: Setting
- setProbability: (double)p The setProbability: method sets the probability of returning YES.
Phase: Using
- (BOOL)getSampleWithProbability: (double)p The getSampleWithProbability: returns a sample YES or NO value.
- (double)getProbability The getProbability method returns the probability of returning YES.