|
Oolite 1.91.0.7712-251017-85ce217
|
Instance Methods | |
| (id) | - initWithObjects:weights:count: [implementation] |
| (void) | - dealloc [implementation] |
| (NSDictionary *) | - propertyListRepresentation [implementation] |
| (NSUInteger) | - count [implementation] |
| (id) | - privObjectForWeight: [implementation] |
| (id) | - randomObject [implementation] |
| (float) | - weightForObject: [implementation] |
| (float) | - sumOfWeights [implementation] |
| (NSArray *) | - allObjects [implementation] |
| (NSEnumerator *) | - objectEnumerator [implementation] |
| (id) | - privObjectAtIndex: [implementation] |
| (id) | - mutableCopyWithZone: [implementation] |
| Instance Methods inherited from OOProbabilitySet | |
| (id) | - init |
| (id) | - initWithPropertyListRepresentation: |
| (id) | - initPriv [implementation] |
| (NSString *) | - descriptionComponents [implementation] |
| (id) | - copyWithZone: [implementation] |
| (BOOL) | - containsObject: |
| (float) | - probabilityForObject: |
Private Attributes | |
| NSUInteger | _count |
| id * | _objects |
| float * | _cumulativeWeights |
| float | _sumOfWeights |
Additional Inherited Members | |
| Class Methods inherited from OOProbabilitySet | |
| (id) | + probabilitySet |
| (id) | + probabilitySetWithObjects:weights:count: |
| (id) | + probabilitySetWithPropertyListRepresentation: |
Definition at line 92 of file OOProbabilitySet.m.
|
implementation |
Reimplemented from OOProbabilitySet.
Definition at line 679 of file OOProbabilitySet.m.
|
implementation |
Reimplemented from OOProbabilitySet.
Definition at line 599 of file OOProbabilitySet.m.
References _count.
Referenced by initWithObjects:weights:count:.
|
implementation |
Definition at line 553 of file OOProbabilitySet.m.
References _count, _cumulativeWeights, and _objects.
|
implementation |
Reimplemented from OOProbabilitySet.
Definition at line 520 of file OOProbabilitySet.m.
References _count, _cumulativeWeights, _objects, _sumOfWeights, count, OOProbabilitySet::initPriv, and nil.
|
implementation |
Reimplemented from OOProbabilitySet.
Definition at line 697 of file OOProbabilitySet.m.
References _count, _cumulativeWeights, and nil.
|
implementation |
Reimplemented from OOProbabilitySet.
Definition at line 685 of file OOProbabilitySet.m.
|
implementation |
Reimplemented from <OOProbabilitySetEnumerable>.
Definition at line 691 of file OOProbabilitySet.m.
|
implementation |
Definition at line 605 of file OOProbabilitySet.m.
References _count, _cumulativeWeights, _objects, and EXPECT_NOT.
Referenced by randomObject.
|
implementation |
Reimplemented from OOProbabilitySet.
Definition at line 577 of file OOProbabilitySet.m.
References _count, _cumulativeWeights, and nil.
|
implementation |
Reimplemented from OOProbabilitySet.
Definition at line 644 of file OOProbabilitySet.m.
References _sumOfWeights, nil, and privObjectForWeight:.
|
implementation |
Reimplemented from OOProbabilitySet.
Definition at line 673 of file OOProbabilitySet.m.
References _sumOfWeights.
|
implementation |
Reimplemented from OOProbabilitySet.
Definition at line 651 of file OOProbabilitySet.m.
References _count, _cumulativeWeights, _objects, and nil.
|
private |
Definition at line 96 of file OOProbabilitySet.m.
Referenced by count, dealloc, initWithObjects:weights:count:, mutableCopyWithZone:, privObjectAtIndex:, privObjectForWeight:, propertyListRepresentation, and weightForObject:.
|
private |
Definition at line 98 of file OOProbabilitySet.m.
Referenced by dealloc, initWithObjects:weights:count:, mutableCopyWithZone:, privObjectForWeight:, propertyListRepresentation, and weightForObject:.
|
private |
Definition at line 97 of file OOProbabilitySet.m.
Referenced by dealloc, initWithObjects:weights:count:, privObjectAtIndex:, privObjectForWeight:, and weightForObject:.
|
private |
Definition at line 99 of file OOProbabilitySet.m.
Referenced by initWithObjects:weights:count:, randomObject, and sumOfWeights.