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