Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F10704672
LinearFunction.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Size
991 B
Referenced Files
None
Subscribers
None
LinearFunction.h
View Options
#ifndef LINEARFUNCTION_HEADERFILE
#define LINEARFUNCTION_HEADERFILE
#include
<stdio.h>
#include
<string>
#include
"Domain.h"
class
LinearFunction
{
private
:
Domain
domain
;
float
k
,
d
;
std
::
string
name
;
public
:
LinearFunction
();
LinearFunction
(
const
std
::
string
&
name
);
Domain
*
setDomain
(
bool
flagLowerBoundaryExist
,
float
lowerBoundary
,
bool
flagUpperBoundaryExist
,
float
upperBoundary
);
//bounded both-sided
Domain
*
setDomain
(
bool
flagLowerBoundaryExist
,
float
lowerBoundary
,
bool
flagUpperBoundaryExist
);
//bounded below
Domain
*
setDomain
(
bool
flagLowerBoundaryExist
,
bool
flagUpperBoundaryExist
,
float
upperBoundary
);
//bounded above
Domain
*
setDomain
(
bool
flagLowerBoundaryExist
,
bool
flagUpperBoundaryExist
);
Domain
*
getDomain
();
std
::
string
getName
();
bool
setKandD
(
float
k
,
float
d
);
bool
setKandD
(
float
x1
,
float
y1
,
float
x2
,
float
y2
);
float
getK
();
float
getD
();
float
getY
(
float
x
);
};
#endif
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sun, May 31, 4:34 PM (1 d, 17 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
329395
Default Alt Text
LinearFunction.h (991 B)
Attached To
Mode
R20 SoC_Rosa_repo
Attached
Detach File
Event Timeline
Log In to Comment