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 
49  virtual ~DtDetectionPrbRangeLookupEntry() override;
50 
51  virtual DtRangeProbEntry* clone(const DtString& name, DtReaderWriterRegistry* parentRegistry = NULL) const override;
52  virtual DtRangeProbEntry* clone(
53  const DtSymbolString& name, DtReaderWriterRegistry* parentRegistry = NULL) const override;
54 
59  virtual void getProbabilities(DtReal range, DtPrbValueList* entry) override;
60 
62  virtual void addTableEntry(const DtPrbValueList& tableEntry);
63 
65  virtual bool isValid() const override;
66 
69  virtual const DtPrbStepFunctionDeterminant& determinant() const;
70 
72  virtual void setStepFunction(const DtPrbStepFunction&);
73 
75  virtual bool removeRange(double);
76 
78  virtual double solveForMaximum() const override;
79 
81  virtual double rangeValue(int column) const;
82 
85  virtual DtPrbValueList* changeRange(double oldRange, double newRange, int* newColumn = 0);
86 
88  virtual DtPrbValueList* changeRangeForColumn(int col, double newRange, int* newColumn = 0);
89 
91  virtual int indexOfRange(double) const;
92 
93  virtual bool operator==(const DtRangeProbEntry&) const override;
94 
95 protected:
96 
100 
106 
108 };
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:105
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 Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)