VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
detectionPrbRangeLookupEntry.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2018 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
8 #include <vlutil/vlMachineTypes.h>
9 
11 #include <readerWriter/rwReal.h>
14 
15 class DtString;
17 class DtPrbValueList;
18 class DtPrbStepFuntion;
19 
24 {
25 
26 public:
27 
28  //default constructor
30 
33  DtReaderWriterRegistry* parentRegistry = NULL);
35  DtReaderWriterRegistry* parentRegistry = NULL);
36 
38  DtDetectionPrbRangeLookupEntry(const DtString& name, const
40  parentRegistry = NULL);
43  parentRegistry = NULL);
44 
47 
50 
51  virtual DtRangeProbEntry* clone(const DtString& name,
52  DtReaderWriterRegistry* parentRegistry = NULL) const;
53  virtual DtRangeProbEntry* clone(const DtSymbolString& name,
54  DtReaderWriterRegistry* parentRegistry = NULL) const;
55 
60  virtual void getProbabilities(DtReal range, DtPrbValueList* entry);
61 
63  virtual void addTableEntry(const DtPrbValueList& tableEntry);
64 
66  virtual bool isValid() const;
67 
70  virtual const DtPrbStepFunctionDeterminant& determinant() const;
71 
73  virtual void setStepFunction(const DtPrbStepFunction&);
74 
76  virtual bool removeRange(double);
77 
79  virtual double solveForMaximum() const;
80 
82  virtual double rangeValue(int column) const;
83 
86  virtual DtPrbValueList* changeRange(double oldRange, double newRange, int* newColumn = 0);
87 
89  virtual DtPrbValueList* changeRangeForColumn(int col, double newRange, int* newColumn = 0);
90 
92  virtual int indexOfRange(double) const;
93 
94  virtual bool operator==(const DtRangeProbEntry&) const;
95 
96 protected:
97 
101 
107 
109 };
DtRangeProbEntry is an abstract class whose deriving classes will have one of the two forms of DtPrbD...
Definition: rangeProbEntry.h:19
This class allows one to collect and compare strings using an index number instead of having to do st...
Definition: symbolString.h:27
const DtRangeProbEntry & operator=(const DtRangeProbEntry &orig)
virtual bool isValid() const =0
Returns true if this range is valid.
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
DtPrbStepFunctionDeterminant myDeterminant
Parameter Name: determinant Parameter Description: List of probability entries with the name &quot;range-l...
Definition: detectionPrbRangeLookupEntry.h:106
Definition: prbStepFunction.h:24
Definition: readerWriterRegistry.h:39
virtual void getProbabilities(DtReal range, DtPrbValueList *entry)=0
The caller provides a pointer to a DtPrbValueList, which is filled in with the appropriate set of pro...
DtPrbValueList.
Definition: prbValueList.h:19
virtual bool operator==(const DtRangeProbEntry &) const
DtPrbStepFunctionDeterminant provides a list of probabilities based on an input value. These probabilities are looked up in a table that is managed by the DtPrbStepFunction that is a member of this class.
Definition: prbStepFunctionDeterminant.h:25
virtual double solveForMaximum() const =0
Returns the maximum range this entry can support.
virtual DtRangeProbEntry * clone(const DtString &name, DtReaderWriterRegistry *parentRegistry=NULL) const =0
DtDetectionPrbRangeLookupEntry is the derived form of DtRangeProbEntry that has a DtPrbStepFunctionDe...
Definition: detectionPrbRangeLookupEntry.h:23

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)