![]() |
VR-Forces 4.3.1 Class Documentation
|
DtPrbCoefficientsRangeDeterminant provides a list of kill probabilities based on range. More...

Public Member Functions | |
| DtPrbCoefficientsRangeDeterminant () | |
| DtPrbCoefficientsRangeDeterminant (const DtString &name, DtReaderWriterRegistry *parentRegistry=NULL) | |
| constructor with parameters to set up read/writability correctly | |
| DtPrbCoefficientsRangeDeterminant (const DtSymbolString &name, DtReaderWriterRegistry *parentRegistry=NULL) | |
| DtPrbCoefficientsRangeDeterminant (const DtString &name, const DtPrbCoefficientsRangeDeterminant &orig, DtReaderWriterRegistry *parentRegistry=NULL) | |
| copy constructor | |
| DtPrbCoefficientsRangeDeterminant (const DtSymbolString &name, const DtPrbCoefficientsRangeDeterminant &orig, DtReaderWriterRegistry *parentRegistry=NULL) | |
| const DtPrbCoefficientsRangeDeterminant & | operator= (const DtPrbCoefficientsRangeDeterminant &orig) |
| virtual | ~DtPrbCoefficientsRangeDeterminant () |
| destructor | |
| virtual DtPrbRangeDeterminant * | clone (const DtString &name, DtReaderWriterRegistry *parentRegistry=NULL) const |
| virtual DtPrbRangeDeterminant * | clone (const DtSymbolString &name, DtReaderWriterRegistry *parentRegistry=NULL) const |
| virtual void | addProbabilityCoefficients (const DtPrbProbabilityCoefficients &coefficients) |
| virtual void | getProbabilities (DtReal range, DtPrbRangeTableEntry *entry) |
| The caller provides a pointer to a DtPrbRangeTableEntry, which is filled in with the appropriate set of probabilities. | |
| virtual double | getMaximumDamageRadius () |
| Determines the maximum radius this munition can do damage for this angle Calls myCoefficientList->maxRangeValue();. | |
| virtual const DtPrbCoefficientList & | coefficientList () const |
| Returns object containing list of polynomial coefficients used to to form the expression of probability as a function of range. | |
Protected Attributes | |
parameters | |
These parameters are available for setting in the OPD files. | |
| DtPrbCoefficientList | myCoefficientList |
| Parameter Name: coefficients Parameter Description: a coefficient probability list is a list of coefficient probability entries. | |
Additional Inherited Members | |
Public Types inherited from DtReaderWriter | |
| typedef std::vector < DtSymbolString > | aliasContainer |
| typedef std::vector < DtSymbolString >::iterator | aliasIter |
| typedef std::vector < DtSymbolString > ::const_iterator | aliasConstIter |
| typedef std::vector< DtFilename > | SearchPaths |
| typedef std::pair < DtSymbolString, DtString > | DtVariableNameType |
| typedef DtReaderWriterFactory *(* | DtReaderWriterFactoryCreatorFcn )() |
Static Public Member Functions inherited from DtReaderWriter | |
| static void | putIndent (FILE *fp, int indentLevel) |
| static const DtVariableBindingsList & | nullVariableReference () |
| static void | setPostGetSelfCallback (DtGetSelfCallbackFcn fcn, void *usrData) |
| static void | setPrePutSelfCallback (DtPutSelfCallbackFcn fcn, void *usrData) |
| static const char * | theXmlType () |
| The type that is used when archiving to an XML stream. | |
| static const DtFilename & | appPath () |
| Gets the current working directory. | |
| static void | setFactoryCreatorFunction (DtReaderWriterFactoryCreatorFcn fcn) |
| Sets the function to create the DtReaderWriterFactory. | |
| static void | createReaderWriterFactory () |
| static void | cleanupFactory () |
| static DtReaderWriterFactory * | factory () |
| static DtReaderWriter * | createFromXmlFile (const DtFilename &) |
| Given a filename, returns a newly created reader/writer object from the object found within. | |
| static DtReaderWriter * | createFromXml (const DtString &) |
| Given a xml string, returns a newly created reader/writer object from the object found within. | |
| static DtReaderWriter * | createFromEnvironment (DtEnvironmentSP) |
| Given a xml environment, returns a newly created reader/writer object from the object found within. | |
| static DtString | getAttribute (DtEnvironmentSP env, const DtString &name, DtEnvValueSP root) |
| Gets the named attribute from a DtEnvValueSP. | |
Protected Member Functions inherited from DtPrbRangeDeterminant | |
| DtPrbRangeDeterminant () | |
| default constructor | |
| DtPrbRangeDeterminant (const DtString &name, DtReaderWriterRegistry *parentRegistry=NULL) | |
| Constructor with parameters to set up read/writability correctly. | |
| DtPrbRangeDeterminant (const DtSymbolString &name, DtReaderWriterRegistry *parentRegistry=NULL) | |
| DtPrbRangeDeterminant (const DtString &name, const DtPrbRangeDeterminant &orig, DtReaderWriterRegistry *parentRegistry=NULL) | |
| copy constructor | |
| DtPrbRangeDeterminant (const DtSymbolString &name, const DtPrbRangeDeterminant &orig, DtReaderWriterRegistry *parentRegistry=NULL) | |
| const DtPrbRangeDeterminant & | operator= (const DtPrbRangeDeterminant &orig) |
| virtual | ~DtPrbRangeDeterminant () |
| destructor | |
Static Protected Attributes inherited from DtReaderWriter | |
| static DtString | theUnspecifiedValue |
| static DtGetSelfCallbackInfo | thePostGetSelfCallback |
| static DtPutSelfCallbackInfo | thePrePutSelfCallback |
| static const DtVariableBindingsList | theEmptyVariableBindingsList |
| static bool | theCreatorFcnSet |
| static DtReaderWriterFactory * | theFactory |
| static DtReaderWriterFactoryCreatorFcn | theFactoryCreatorFcn |
DtPrbCoefficientsRangeDeterminant provides a list of kill probabilities based on range.
These probabilities are calculated from a set of polynomial coefficients managed by the DtPrbCoefficientList that is a member of this class.
| DtPrbCoefficientsRangeDeterminant::DtPrbCoefficientsRangeDeterminant | ( | ) |
| DtPrbCoefficientsRangeDeterminant::DtPrbCoefficientsRangeDeterminant | ( | const DtString & | name, |
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) |
constructor with parameters to set up read/writability correctly
| DtPrbCoefficientsRangeDeterminant::DtPrbCoefficientsRangeDeterminant | ( | const DtSymbolString & | name, |
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) |
| DtPrbCoefficientsRangeDeterminant::DtPrbCoefficientsRangeDeterminant | ( | const DtString & | name, |
| const DtPrbCoefficientsRangeDeterminant & | orig, | ||
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) |
copy constructor
| DtPrbCoefficientsRangeDeterminant::DtPrbCoefficientsRangeDeterminant | ( | const DtSymbolString & | name, |
| const DtPrbCoefficientsRangeDeterminant & | orig, | ||
| DtReaderWriterRegistry * | parentRegistry = NULL |
||
| ) |
|
virtual |
destructor
| const DtPrbCoefficientsRangeDeterminant& DtPrbCoefficientsRangeDeterminant::operator= | ( | const DtPrbCoefficientsRangeDeterminant & | orig | ) |
|
virtual |
Implements DtPrbRangeDeterminant.
|
virtual |
Implements DtPrbRangeDeterminant.
|
virtual |
|
virtual |
The caller provides a pointer to a DtPrbRangeTableEntry, which is filled in with the appropriate set of probabilities.
Implements DtPrbRangeDeterminant.
|
virtual |
Determines the maximum radius this munition can do damage for this angle Calls myCoefficientList->maxRangeValue();.
Implements DtPrbRangeDeterminant.
|
virtual |
Returns object containing list of polynomial coefficients used to to form the expression of probability as a function of range.
|
protected |
Parameter Name: coefficients
Parameter Description: a coefficient probability list is a list of coefficient probability entries.
Each entry has a probability name and the coefficients of a standard polynomial that can be used with a given range to determine the specified probability. The order of the polynomial is determined by the number of coefficients provided. For example, an entry of: (probability -5.00000E-008 -300000E-012 1.0000) indicates that the formula to use for a given range r would be: (- 5.00000E-008 * r2) + (-300000E-012 * r) + 1.0 Values calculated will be constrained to be between 0.0 and 1.0. Zero values are factored out, for example: (probability -5.00000E-008 0.0000 1.0000) indicates that the formula to use for a given range r would be: (- 5.00000E-008 * r2) + (0.0 * r) + 1.0
Parameter Default Value: