Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F27035972
LinearFunction.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Authored By
Unknown
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
Tue, Oct 27, 7:21 PM (14 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
411401
Default Alt Text
LinearFunction.h (991 B)
Attached To
Mode
R20 SoC_Rosa_repo
Attached
Detach File
Event Timeline