VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrfobjparam
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
10
#include <
readerWriter/readerWriter.h
>
11
#include <
readerWriter/rwReal.h
>
12
#include "
vrfobjparam/rangeProbEntry.h
"
13
#include "
vrfobjparam/prbStepFunctionDeterminant.h
"
14
15
class
DtString
;
16
class
DtReaderWriterRegistry
;
17
class
DtPrbValueList
;
18
class
DtPrbStepFuntion;
19
22
#include "
vrfobjparam/vrfobjparamDefines.h
"
23
class
DT_DLL_vrfobjparam
DtDetectionPrbRangeLookupEntry
:
public
DtRangeProbEntry
24
{
25
26
public
:
27
28
//default constructor
29
DtDetectionPrbRangeLookupEntry
();
30
32
DtDetectionPrbRangeLookupEntry
(
const
DtString
& name,
33
DtReaderWriterRegistry
* parentRegistry = NULL);
34
DtDetectionPrbRangeLookupEntry
(
const
DtSymbolString
& name,
35
DtReaderWriterRegistry
* parentRegistry = NULL);
36
38
DtDetectionPrbRangeLookupEntry
(
const
DtString
& name,
const
39
DtDetectionPrbRangeLookupEntry
& orig,
DtReaderWriterRegistry
*
40
parentRegistry = NULL);
41
DtDetectionPrbRangeLookupEntry
(
const
DtSymbolString
& name,
const
42
DtDetectionPrbRangeLookupEntry
& orig,
DtReaderWriterRegistry
*
43
parentRegistry = NULL);
44
45
const
DtDetectionPrbRangeLookupEntry
&
operator=
(
const
46
DtDetectionPrbRangeLookupEntry
& orig);
47
49
virtual
~
DtDetectionPrbRangeLookupEntry
();
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
106
DtPrbStepFunctionDeterminant
myDeterminant
;
107
109
};
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)