Oolite 1.91.0.7644-241112-7f5034b
|
#include <OOProbabilitySet.h>
Instance Methods | |
(id) | - init |
(id) | - initWithObjects:weights:count: |
(id) | - initWithPropertyListRepresentation: |
(NSDictionary *) | - propertyListRepresentation |
(NSUInteger) | - count |
(id) | - randomObject |
(float) | - weightForObject: |
(float) | - sumOfWeights |
(NSArray *) | - allObjects |
(id) | - initPriv [implementation] |
(NSString *) | - descriptionComponents [implementation] |
(id) | - copyWithZone: [implementation] |
(id) | - mutableCopyWithZone: [implementation] |
(BOOL) | - containsObject: |
(NSEnumerator *) | - objectEnumerator |
(float) | - probabilityForObject: |
Class Methods | |
(id) | + probabilitySet |
(id) | + probabilitySetWithObjects:weights:count: |
(id) | + probabilitySetWithPropertyListRepresentation: |
Definition at line 41 of file OOProbabilitySet.h.
- (NSArray *) allObjects |
Reimplemented in OOConcreteMutableProbabilitySet, OOConcreteProbabilitySet, OOEmptyProbabilitySet, and OOSingleObjectProbabilitySet.
Definition at line 121 of file OOProbabilitySet.m.
- (BOOL) containsObject: | (id) | object |
Provided by category OOProbabilitySet(OOExtendedProbabilitySet).
Definition at line 121 of file OOProbabilitySet.m.
|
implementation |
Reimplemented in OOConcreteMutableProbabilitySet, OOEmptyProbabilitySet, and OOMutableProbabilitySet.
Definition at line 121 of file OOProbabilitySet.m.
- (NSUInteger) count |
Reimplemented in OOConcreteMutableProbabilitySet, OOConcreteProbabilitySet, OOEmptyProbabilitySet, and OOSingleObjectProbabilitySet.
Definition at line 121 of file OOProbabilitySet.m.
|
implementation |
Definition at line 121 of file OOProbabilitySet.m.
- (id) init |
Reimplemented in OOMutableProbabilitySet.
Definition at line 121 of file OOProbabilitySet.m.
|
implementation |
Reimplemented in OOConcreteMutableProbabilitySet.
Provided by category OOProbabilitySet(OOPrivate).
Definition at line 121 of file OOProbabilitySet.m.
- (id) initWithObjects: | (id *) | objects | |
weights: | (float *) | weights | |
count: | (NSUInteger) | count |
Reimplemented in OOConcreteMutableProbabilitySet, OOConcreteProbabilitySet, and OOMutableProbabilitySet.
Definition at line 121 of file OOProbabilitySet.m.
- (id) initWithPropertyListRepresentation: | (NSDictionary *) | plist |
Reimplemented in OOConcreteMutableProbabilitySet, and OOMutableProbabilitySet.
Definition at line 121 of file OOProbabilitySet.m.
|
implementation |
Reimplemented in OOConcreteMutableProbabilitySet, OOConcreteProbabilitySet, OOEmptyProbabilitySet, and OOSingleObjectProbabilitySet.
Definition at line 121 of file OOProbabilitySet.m.
- (NSEnumerator *) objectEnumerator |
Reimplemented in OOConcreteMutableProbabilitySet, and OOConcreteProbabilitySet.
Provided by category OOProbabilitySet(OOExtendedProbabilitySet).
Definition at line 121 of file OOProbabilitySet.m.
- (float) probabilityForObject: | (id) | object |
Provided by category OOProbabilitySet(OOExtendedProbabilitySet).
Definition at line 121 of file OOProbabilitySet.m.
+ (id) probabilitySet |
Reimplemented in OOMutableProbabilitySet.
Definition at line 121 of file OOProbabilitySet.m.
+ (id) probabilitySetWithObjects: | (id *) | objects | |
weights: | (float *) | weights | |
count: | (NSUInteger) | count |
Definition at line 121 of file OOProbabilitySet.m.
+ (id) probabilitySetWithPropertyListRepresentation: | (NSDictionary *) | plist |
Definition at line 121 of file OOProbabilitySet.m.
- (NSDictionary *) propertyListRepresentation |
Reimplemented in OOConcreteMutableProbabilitySet, OOConcreteProbabilitySet, OOEmptyProbabilitySet, and OOSingleObjectProbabilitySet.
Definition at line 121 of file OOProbabilitySet.m.
- (id) randomObject |
Reimplemented in OOConcreteMutableProbabilitySet, OOConcreteProbabilitySet, OOEmptyProbabilitySet, and OOSingleObjectProbabilitySet.
Definition at line 121 of file OOProbabilitySet.m.
- (float) sumOfWeights |
Reimplemented in OOConcreteMutableProbabilitySet, OOConcreteProbabilitySet, OOEmptyProbabilitySet, and OOSingleObjectProbabilitySet.
Definition at line 121 of file OOProbabilitySet.m.
- (float) weightForObject: | (id) | object |
Reimplemented in OOConcreteMutableProbabilitySet, OOConcreteProbabilitySet, OOEmptyProbabilitySet, and OOSingleObjectProbabilitySet.
Definition at line 121 of file OOProbabilitySet.m.