#include <PermanentCropsHandler.h>
Collaboration diagram for PermCropCultivationPractices:

Public Member Functions | |
| PermCropCultivationPractices (int numGroups) | |
| Constructor. | |
| virtual | ~PermCropCultivationPractices () |
| Destructor. | |
Functions | |
| virtual int | getNumManagementGroups () |
| get number of management groups | |
| virtual void | putPermCropIntoManagementGroup (int objID, int groupIdx) |
| put permanent crop into management group | |
| virtual int | getGroupIdxForObject (int objID) |
| query gives group index for a particular object | |
| virtual int | getObjectIDsOfOthersInGroup (int objID, MatrixDouble &otherObjIDs) |
| query gives object IDs of other members and returns number of IDs | |
| virtual int | getLpColumnForSwitchingObjects (int objID, int switchObjID) |
| query gives Lp activity for switching between objects | |
| virtual void | readFromOpenStream (FILE *strm) |
| read content from open stream | |
| virtual void | writeToOpenStream (FILE *strm) |
| write content to open stream | |
| virtual void | deallocate () |
| free memory | |
Protected Attributes | |
Data | |
| int | numManagementGroups |
| number of management groups | |
| MatrixDouble * | objectIDsInGroup |
| object IDs per management group | |
| MatrixDouble * | lpColumnsInGroup |
| Lp activity indices per switching option. | |
|
|
Constructor.
|
|
|
Destructor.
|
|
|
free memory
|
|
|
query gives group index for a particular object
|
|
||||||||||||
|
query gives Lp activity for switching between objects
|
|
|
get number of management groups
|
|
||||||||||||
|
query gives object IDs of other members and returns number of IDs
|
|
||||||||||||
|
put permanent crop into management group
|
|
|
read content from open stream
|
|
|
write content to open stream
|
|
|
Lp activity indices per switching option.
|
|
|
number of management groups
|
|
|
object IDs per management group
|
1.3.9.1