00001
00018 #ifndef OSRESULT_H
00019 #define OSRESULT_H
00020 #include <string>
00021 #include <vector>
00022 #include "OSGeneral.h"
00023
00024
00025
00026
00031 struct IndexStringPair{
00035 int idx;
00036
00039 std::string value;
00040
00041 };
00042
00043
00055 class GeneralSubstatus {
00056
00057 public:
00058
00060 std::string name;
00061
00063 std::string description;
00064
00069 GeneralSubstatus();
00074 ~GeneralSubstatus();
00075
00080 bool IsEqual(GeneralSubstatus *that);
00081
00082 };
00083
00084
00096 class GeneralStatus {
00097
00098 public:
00099
00101 int numberOfSubstatuses;
00102
00104 std::string type;
00105
00107 std::string description;
00108
00110 GeneralSubstatus **substatus;
00111
00116 GeneralStatus();
00121 ~GeneralStatus();
00122
00127 bool IsEqual(GeneralStatus *that);
00128
00129 };
00130
00131
00143 class OtherResult {
00144
00145 public:
00146
00148 std::string name;
00149
00151 std::string value;
00152
00154 std::string description;
00155
00160 OtherResult();
00165 ~OtherResult();
00166
00171 bool IsEqual(OtherResult *that);
00172
00173 };
00174
00175
00187 class OtherResults {
00188
00189 public:
00190
00192 int numberOfOtherResults;
00193
00195 OtherResult** other;
00196
00201 OtherResults();
00206 ~OtherResults();
00207
00212 bool IsEqual(OtherResults *that);
00213
00214 };
00215
00227 class GeneralResult{
00228 public:
00229
00232 GeneralStatus *generalStatus;
00233
00236 std::string message;
00237
00241 std::string serviceURI;
00242
00246 std::string serviceName;
00247
00250 std::string instanceName;
00251
00255 std::string jobID;
00256
00259 std::string solverInvoked;
00260
00263 std::string timeStamp;
00264
00267 OtherResults *otherResults;
00268
00269
00274 GeneralResult();
00279 ~GeneralResult();
00280
00285 bool IsEqual(GeneralResult *that);
00286 };
00287
00288
00300 class DiskSpace {
00301
00302 public:
00303
00305 std::string unit;
00306
00308 std::string description;
00309
00311 double value;
00312
00317 DiskSpace();
00322 ~DiskSpace();
00323
00328 bool IsEqual(DiskSpace *that);
00329
00330 };
00331
00332
00344 class MemorySize {
00345
00346 public:
00347
00349 std::string unit;
00350
00352 std::string description;
00353
00355 double value;
00356
00361 MemorySize();
00366 ~MemorySize();
00367
00372 bool IsEqual(MemorySize *that);
00373
00374 };
00375
00376
00388 class CPUSpeed {
00389
00390 public:
00391
00393 std::string unit;
00394
00396 std::string description;
00397
00399 double value;
00400
00405 CPUSpeed();
00410 ~CPUSpeed();
00411
00416 bool IsEqual(CPUSpeed *that);
00417
00418 };
00419
00420
00421
00433 class CPUNumber {
00434
00435 public:
00436
00438 std::string description;
00439
00441 int value;
00442
00447 CPUNumber();
00452 ~CPUNumber();
00453
00458 bool IsEqual(CPUNumber *that);
00459
00460 };
00461
00462
00474 class SystemResult{
00475 public:
00476
00478 std::string systemInformation;
00479
00482 DiskSpace *availableDiskSpace;
00483
00486 MemorySize *availableMemory;
00487
00490 CPUSpeed *availableCPUSpeed;
00491
00494 CPUNumber *availableCPUNumber;
00495
00498 OtherResults *otherResults;
00499
00504 SystemResult();
00509 ~SystemResult();
00510
00515 bool IsEqual(SystemResult *that);
00516 };
00517
00518
00530 class ServiceResult{
00531 public:
00532
00534 std::string currentState;
00535
00537 int currentJobCount;
00538
00540 int totalJobsSoFar;
00541
00543 std::string timeServiceStarted;
00544
00546 double serviceUtilization;
00547
00550 OtherResults *otherResults;
00551
00556 ServiceResult();
00561 ~ServiceResult();
00562
00567 bool IsEqual(ServiceResult *that);
00568 };
00569
00570
00582 class Time{
00583 public:
00584
00588 std::string type;
00589
00593 std::string category;
00594
00598 std::string unit;
00599
00603 std::string description;
00604
00608 double value;
00609
00614 Time();
00619 ~Time();
00620
00625 bool IsEqual(Time *that);
00626 };
00627
00628
00640 class TimingInformation{
00641 public:
00642
00647 int numberOfTimes;
00648
00653 Time** time;
00654
00659 TimingInformation();
00664 ~TimingInformation();
00665
00670 bool IsEqual(TimingInformation *that);
00671 };
00672
00673
00685 class JobResult{
00686 public:
00687
00689 std::string status;
00690
00692 std::string submitTime;
00693
00695 std::string scheduledStartTime;
00696
00698 std::string actualStartTime;
00699
00701 std::string endTime;
00702
00704 TimingInformation* timingInformation;
00705
00708 DiskSpace *usedDiskSpace;
00709
00712 MemorySize *usedMemory;
00713
00716 CPUSpeed *usedCPUSpeed;
00717
00720 CPUNumber *usedCPUNumber;
00721
00724 OtherResults *otherResults;
00725
00730 JobResult();
00735 ~JobResult();
00736
00741 bool IsEqual(JobResult *that);
00742 };
00743
00744
00745
00746
00758 class OptimizationSolutionSubstatus {
00759 public:
00760
00762 std::string type;
00763
00765 std::string description;
00766
00770 OptimizationSolutionSubstatus();
00775 ~OptimizationSolutionSubstatus();
00776
00781 bool IsEqual(OptimizationSolutionSubstatus *that);
00782
00783 };
00784
00785
00797 class OptimizationSolutionStatus {
00798 public:
00799
00801 int numberOfSubstatuses;
00802
00804 std::string type;
00805
00807 std::string description;
00808
00810 OptimizationSolutionSubstatus** substatus;
00811
00815 OptimizationSolutionStatus();
00820 ~OptimizationSolutionStatus();
00821
00826 bool IsEqual(OptimizationSolutionStatus *that);
00827
00828 };
00829
00830
00842 class VarValue{
00843 public:
00844
00846 int idx;
00847
00848
00849
00850
00851 double value;
00852
00857 VarValue();
00862 ~VarValue();
00863
00868 bool IsEqual(VarValue *that);
00869
00870 };
00871
00872
00883 class VariableValues{
00884 public:
00885
00888 int numberOfVar;
00889
00893 VarValue** var;
00894
00895
00900 VariableValues();
00901
00906 ~VariableValues();
00907
00912 bool IsEqual(VariableValues *that);
00913
00914 };
00915
00916
00928 class VarValueString{
00929 public:
00930
00932 int idx;
00933
00934
00935
00936
00937 std::string value;
00938
00943 VarValueString();
00944
00949 ~VarValueString();
00950
00955 bool IsEqual(VarValueString *that);
00956
00957 };
00958
00959
00970 class VariableValuesString{
00971 public:
00972
00975 int numberOfVar;
00976
00980 VarValueString** var;
00981
00982
00987 VariableValuesString();
00988
00993 ~VariableValuesString();
00994
00999 bool IsEqual(VariableValuesString *that);
01000
01001 };
01002
01003
01014 class OtherVarResult {
01015 public:
01016
01018 int idx;
01019
01026 std::string value;
01027
01032 OtherVarResult();
01037 ~OtherVarResult();
01038
01043 bool IsEqual(OtherVarResult *that);
01044
01045 };
01046
01047
01048
01060 class OtherVariableResult {
01061 public:
01062
01066 int numberOfVar;
01067
01071 int numberOfEnumerations;
01072
01074 std::string name;
01075
01079 std::string value;
01080
01082 std::string description;
01083
01084
01085
01086
01087
01088 OtherVarResult** var;
01089
01090
01091
01092
01093
01094 OtherOptionEnumeration** enumeration;
01095
01100 OtherVariableResult();
01101
01106 ~OtherVariableResult();
01107
01112 bool IsEqual(OtherVariableResult *that);
01113
01114 };
01115
01116
01128 class VariableSolution{
01129 public:
01130
01134 int numberOfOtherVariableResults;
01135
01137 VariableValues *values;
01138
01140 VariableValuesString *valuesString;
01141
01143 BasisStatus *basisStatus;
01144
01148 OtherVariableResult** other;
01149
01154 VariableSolution();
01155
01160 ~VariableSolution();
01161
01166 bool IsEqual(VariableSolution *that);
01167
01168 };
01169
01170
01182 class ObjValue {
01183 public:
01184
01186 int idx;
01187
01189 double value;
01190
01195 ObjValue();
01196
01201 ~ObjValue();
01202
01207 bool IsEqual(ObjValue *that);
01208 };
01209
01220 class ObjectiveValues {
01221 public:
01222
01225 int numberOfObj;
01226
01231 ObjValue** obj;
01232
01237 ObjectiveValues();
01238
01243 ~ObjectiveValues();
01244
01249 bool IsEqual(ObjectiveValues *that);
01250
01251 };
01252
01253
01265 class OtherObjResult {
01266 public:
01267
01269 int idx;
01270
01271
01275 std::string value;
01276
01281 OtherObjResult();
01282
01287 ~OtherObjResult();
01288
01293 bool IsEqual(OtherObjResult *that);
01294
01295 };
01296
01297
01309 class OtherObjectiveResult {
01310 public:
01311
01315 int numberOfObj;
01316
01320 int numberOfEnumerations;
01321
01323 std::string name;
01324
01328 std::string value;
01329
01331 std::string description;
01332
01333
01334
01335
01336
01337 OtherObjResult** obj;
01338
01339
01340
01341
01342
01343 OtherOptionEnumeration** enumeration;
01344
01349 OtherObjectiveResult();
01350
01355 ~OtherObjectiveResult();
01356
01361 bool IsEqual(OtherObjectiveResult *that);
01362
01363 };
01364
01365
01366
01378 class ObjectiveSolution {
01379 public:
01380
01384 int numberOfOtherObjectiveResults;
01385
01387 ObjectiveValues *values;
01388
01390 BasisStatus *basisStatus;
01391
01395 OtherObjectiveResult** other;
01396
01401 ObjectiveSolution();
01402
01407 ~ObjectiveSolution();
01408
01413 bool IsEqual(ObjectiveSolution *that);
01414
01415 };
01416
01417
01418
01429 class DualVarValue {
01430 public:
01431
01433 int idx;
01434
01439
01440
01441
01446
01447
01451 double value;
01452
01457 DualVarValue();
01458
01463 ~DualVarValue();
01464
01469 bool IsEqual(DualVarValue *that);
01470
01471 };
01472
01473
01474
01485 class DualVariableValues {
01486 public:
01487
01490 int numberOfCon;
01491
01496 DualVarValue** con;
01497
01502 DualVariableValues();
01503
01508 ~DualVariableValues();
01509
01514 bool IsEqual(DualVariableValues *that);
01515
01516 };
01517
01518
01530 class OtherConResult {
01531 public:
01532
01534 int idx;
01535
01541 std::string value;
01542
01547 OtherConResult();
01548
01553 ~OtherConResult();
01554
01559 bool IsEqual(OtherConResult *that);
01560
01561 };
01562
01563
01575 class OtherConstraintResult {
01576 public:
01577
01581 int numberOfCon;
01582
01586 int numberOfEnumerations;
01587
01589 std::string name;
01590
01594 std::string value;
01595
01597 std::string description;
01598
01599
01600
01601
01602
01603
01604 OtherConResult** con;
01605
01606
01607
01608
01609
01610 OtherOptionEnumeration** enumeration;
01611
01616 OtherConstraintResult();
01617
01622 ~OtherConstraintResult();
01623
01628 bool IsEqual(OtherConstraintResult *that);
01629
01630 };
01631
01632
01644 class ConstraintSolution {
01645
01646 public:
01647
01651 int numberOfOtherConstraintResults;
01652
01654 DualVariableValues *dualValues;
01655
01657 BasisStatus *basisStatus;
01658
01662 OtherConstraintResult** other;
01663
01668 ConstraintSolution();
01669
01674 ~ConstraintSolution();
01675
01680 bool IsEqual(ConstraintSolution *that);
01681
01682 };
01683
01684
01685
01686
01698 class OtherSolutionResult {
01699 public:
01700
01702 std::string name;
01703
01707 std::string category;
01708
01710 std::string description;
01711
01714 int numberOfItems;
01715
01718 std::string *item;
01719
01724 OtherSolutionResult();
01725
01730 ~OtherSolutionResult();
01731
01736 bool IsEqual(OtherSolutionResult *that);
01737
01738 };
01739
01740
01741
01742
01754 class OtherSolutionResults {
01755 public:
01756
01758 int numberOfOtherSolutionResults;
01759
01763 OtherSolutionResult **otherSolutionResult;
01764
01769 OtherSolutionResults();
01770
01775 ~OtherSolutionResults();
01776
01781 bool IsEqual(OtherSolutionResults *that);
01782
01783 };
01784
01785
01786
01798 class OptimizationSolution{
01799 public:
01800
01804 int targetObjectiveIdx;
01805
01807 bool weightedObjectives;
01808
01812 OptimizationSolutionStatus *status;
01813
01815 std::string message;
01816
01820 VariableSolution *variables;
01821
01825 ObjectiveSolution *objectives;
01826
01830 ConstraintSolution *constraints;
01831
01835 OtherSolutionResults *otherSolutionResults;
01836
01841 OptimizationSolution();
01842
01847 ~OptimizationSolution();
01848
01853 bool IsEqual(OptimizationSolution *that);
01854
01855 };
01856
01857
01869 class SolverOutput {
01870 public:
01871
01873 std::string name;
01874
01878 std::string category;
01879
01881 std::string description;
01882
01885 int numberOfItems;
01886
01889 std::string *item;
01890
01895 SolverOutput();
01896
01901 ~SolverOutput();
01902
01907 bool IsEqual(SolverOutput *that);
01908
01909 };
01910
01911
01912
01924 class OtherSolverOutput {
01925 public:
01926
01929 int numberOfSolverOutputs;
01930
01933 SolverOutput **solverOutput;
01934
01939 OtherSolverOutput();
01940
01945 ~OtherSolverOutput();
01946
01951 bool IsEqual(OtherSolverOutput *that);
01952
01953 };
01954
01955
01956
01968 class OptimizationResult{
01969 public:
01970
01974 int numberOfSolutions;
01975
01979 int numberOfVariables;
01980
01984 int numberOfObjectives;
01985
01989 int numberOfConstraints;
01990
01994 OptimizationSolution **solution;
01995
01999 OtherSolverOutput *otherSolverOutput;
02000
02005 OptimizationResult();
02006
02011 ~OptimizationResult();
02012
02017 bool IsEqual(OptimizationResult *that);
02018
02019 };
02020
02021
02022
02033 class OSResult{
02034
02035 public:
02036
02040 GeneralResult *general;
02041
02045 SystemResult *system;
02046
02050 ServiceResult *service;
02051
02055 JobResult *job;
02056
02060 OptimizationResult *optimization;
02061
02066 OSResult();
02067
02072 ~OSResult();
02073
02074 public:
02075
02079 int m_iVariableNumber;
02080
02084 int m_iObjectiveNumber;
02085
02089 int m_iConstraintNumber;
02090
02094 int m_iNumberOfOtherVariableResults;
02095
02099 double *m_mdPrimalValues;
02100
02104 double *m_mdDualValues;
02105
02106
02107 std::vector<IndexValuePair*> primalVals;
02108
02109 std::vector<IndexValuePair*> dualVals;
02110
02111
02112 public:
02117 bool IsEqual(OSResult *that);
02118
02119
02120
02121
02122 public:
02123
02129 GeneralStatus* getGeneralStatus();
02130
02137 std::string getGeneralStatusType();
02138
02144 std::string getGeneralStatusDescription();
02145
02151 int getNumberOfGeneralSubstatuses();
02152
02159 std::string getGeneralSubstatusName(int i);
02160
02167 std::string getGeneralSubstatusDescription(int i);
02168
02174 std::string getGeneralMessage();
02175
02181 std::string getServiceName();
02182
02188 std::string getServiceURI();
02189
02195 std::string getInstanceName();
02196
02202 std::string getJobID();
02203
02209 std::string getSolverInvoked();
02210
02216 std::string getTimeStamp();
02217
02223 int getNumberOfOtherGeneralResults();
02224
02231 std::string getOtherGeneralResultName(int idx);
02232
02233 std::string getOtherGeneralResultValue(int idx);
02234 std::string getOtherGeneralResultDescription(int idx);
02235 std::string getSystemInformation();
02236 std::string getAvailableDiskSpaceUnit();
02237 std::string getAvailableDiskSpaceDescription();
02238 double getAvailableDiskSpaceValue();
02239 std::string getAvailableMemoryUnit();
02240 std::string getAvailableMemoryDescription();
02241 double getAvailableMemoryValue();
02242 std::string getAvailableCPUSpeedUnit();
02243 std::string getAvailableCPUSpeedDescription();
02244 double getAvailableCPUSpeedValue();
02245 std::string getAvailableCPUNumberDescription();
02246 int getAvailableCPUNumberValue();
02247 int getNumberOfOtherSystemResults();
02248 std::string getOtherSystemResultName(int idx);
02249 std::string getOtherSystemResultValue(int idx);
02250 std::string getOtherSystemResultDescription(int idx);
02251 std::string getCurrentState();
02252 int getCurrentJobCount();
02253 int getTotalJobsSoFar();
02254 std::string getTimeServiceStarted();
02255 double getServiceUtilization();
02256 int getNumberOfOtherServiceResults();
02257 std::string getOtherServiceResultName(int idx);
02258 std::string getOtherServiceResultValue(int idx);
02259 std::string getOtherServiceResultDescription(int idx);
02260 std::string getJobStatus();
02261 std::string getJobSubmitTime();
02262 std::string getScheduledStartTime();
02263 std::string getActualStartTime();
02264 std::string getJobEndTime();
02265
02271 int getTimeNumber();
02272
02279 double getTimeValue();
02280
02281 int getNumberOfTimes();
02282 std::string getTimingInfoUnit(int idx);
02283 std::string getTimingInfoType(int idx);
02284 std::string getTimingInfoCategory(int idx);
02285 std::string getTimingInfoDescription(int idx);
02286 double getTimingInfoValue(int idx);
02287 std::string getUsedDiskSpaceUnit();
02288 std::string getUsedDiskSpaceDescription();
02289 double getUsedDiskSpaceValue();
02290 std::string getUsedMemoryUnit();
02291 std::string getUsedMemoryDescription();
02292 double getUsedMemoryValue();
02293 std::string getUsedCPUSpeedUnit();
02294 std::string getUsedCPUSpeedDescription();
02295 double getUsedCPUSpeedValue();
02296 std::string getUsedCPUNumberDescription();
02297 int getUsedCPUNumberValue();
02298 int getNumberOfOtherJobResults();
02299 std::string getOtherJobResultName(int idx);
02300 std::string getOtherJobResultValue(int idx);
02301 std::string getOtherJobResultDescription(int idx);
02302
02308 int getVariableNumber();
02309
02315 int getObjectiveNumber();
02316
02322 int getConstraintNumber();
02323
02329 int getSolutionNumber();
02330
02331
02340 OptimizationSolutionStatus* getSolutionStatus( int solIdx);
02341
02351 std::string getSolutionStatusType(int solIdx);
02352
02359 std::string getSolutionStatusDescription(int solIdx);
02360
02361 int getNumberOfSolutionSubstatuses(int solIdx);
02362 std::string getSolutionSubstatusType(int solIdx, int substatusIdx);
02363 std::string getSolutionSubstatusDescription(int solIdx, int substatusIdx);
02364 int getSolutionTargetObjectiveIdx(int solIdx);
02365
02372 bool getSolutionWeightedObjectives(int solIdx);
02373
02380 std::string getSolutionMessage(int solIdx);
02381
02382 int getNumberOfPrimalVariableValues(int solIdx);
02383 int getNumberOfVarValues(int solIdx);
02384 int getVarValueIdx(int solIdx, int varIdx);
02385 double getVarValue(int solIdx, int varIdx);
02386
02393 std::vector<IndexValuePair*> getOptimalPrimalVariableValues(int solIdx);
02394
02395 int getNumberOfVarValuesString(int solIdx);
02396 int getVarValueStringIdx(int solIdx, int varIdx);
02397 std::string getVarValueString(int solIdx, int varIdx);
02398 int getNumberOfBasisVar(int solIdx);
02399 int getBasisVarIdx(int solIdx, int varIdx);
02400 std::string getBasisVar(int solIdx, int varIdx);
02401
02407 int getNumberOfOtherVariableResults( int solIdx);
02408
02414 int getAnOtherVariableResultNumberOfVar(int solIdx, int iOther);
02415
02416 std::string getOtherVariableResultName(int solIdx, int otherIdx);
02417 std::string getOtherVariableResultValue(int solIdx, int otherIdx);
02418 std::string getOtherVariableResultDescription(int solIdx, int otherIdx);
02419 int getOtherVariableResultNumberOfVar(int solIdx, int otherIdx);
02420 int getOtherVariableResultVarIdx(int solIdx, int otherIdx, int varIdx);
02421 std::string getOtherVariableResultVar(int solIdx, int otherIdx, int varIdx);
02422 int getNumberOfObjValues(int solIdx);
02423 int getObjValueIdx(int solIdx, int objIdx);
02424 double getObjValue(int solIdx, int objIdx);
02425
02433 double getOptimalObjValue(int objIdx, int solIdx);
02434
02435 int getNumberOfOtherObjectiveResults(int solIdx);
02436 std::string getOtherObjectiveResultName(int solIdx, int otherIdx);
02437 std::string getOtherObjectiveResultValue(int solIdx, int otherIdx);
02438 std::string getOtherObjectiveResultDescription(int solIdx, int otherIdx);
02439 int getOtherObjectiveResultNumberOfObj(int solIdx, int otherIdx);
02440 int getOtherObjectiveResultObjIdx(int solIdx, int otherIdx, int objIdx);
02441 std::string getOtherObjectiveResultObj(int solIdx, int otherIdx, int objIdx);
02442 int getNumberOfDualValues(int solIdx);
02443 int getDualValueIdx(int solIdx, int conIdx);
02444 double getDualValue(int solIdx, int conIdx);
02445
02452 std::vector<IndexValuePair*> getOptimalDualVariableValues(int solIdx);
02453
02454 int getNumberOfOtherConstraintResults(int solIdx);
02455 std::string getOtherConstraintResultName(int solIdx, int otherIdx);
02456 std::string getOtherConstraintResultValue(int solIdx, int otherIdx);
02457 std::string getOtherConstraintResultDescription(int solIdx, int otherIdx);
02458 int getOtherConstraintResultNumberOfCon(int solIdx, int otherIdx);
02459 int getOtherConstraintResultConIdx(int solIdx, int otherIdx, int conIdx);
02460 std::string getOtherConstraintResultCon(int solIdx, int otherIdx, int conIdx);
02461 int getNumberOfOtherSolutionResults(int solIdx);
02462 std::string getOtherSolutionResultName(int solIdx, int otherIdx);
02463 std::string getOtherSolutionResultCategory(int solIdx, int otherIdx);
02464 std::string getOtherSolutionResultDescription(int solIdx, int otherIdx);
02465 int getOtherSolutionResultNumberOfItems(int solIdx, int otherIdx);
02466 std::string getOtherSolutionResultItem(int solIdx, int otherIdx, int itemIdx);
02467 int getNumberOfSolverOutputs();
02468 std::string getSolverOutputName(int otherIdx);
02469 std::string getSolverOutputCategory(int otherIdx);
02470 std::string getSolverOutputDescription(int otherIdx);
02471 int getSolverOutputNumberOfItems(int otherIdx);
02472 std::string getSolverOutputItem(int otherIdx, int itemIdx);
02473
02474
02475
02476
02483 bool setGeneralStatus(GeneralStatus *status);
02484
02492 bool setGeneralStatusType(std::string type);
02493
02500 bool setNumberOfGeneralSubstatuses(int num);
02501
02508 bool setGeneralStatusDescription(std::string description);
02509
02517 bool setGeneralSubstatusName(int idx, std::string name);
02518
02526 bool setGeneralSubstatusDescription(int idx, std::string description);
02527
02534 bool setGeneralMessage(std::string message);
02535
02542 bool setServiceName(std::string serviceName);
02543
02550 bool setServiceURI(std::string serviceURI);
02551
02558 bool setInstanceName(std::string instanceName);
02559
02566 bool setJobID(std::string jobID);
02567
02574 bool setSolverInvoked(std::string solverInvoked);
02575
02582 bool setTimeStamp(std::string timeStamp);
02583
02590 bool setNumberOfOtherGeneralResults(int num);
02591
02599 bool setOtherGeneralResultName(int idx, std::string name);
02600
02608 bool setOtherGeneralResultValue(int idx, std::string value);
02609
02617 bool setOtherGeneralResultDescription(int idx, std::string description);
02618
02625 bool setSystemInformation(std::string systemInformation);
02626
02633 bool setAvailableDiskSpaceUnit(std::string unit);
02634
02641 bool setAvailableDiskSpaceDescription(std::string description);
02642
02649 bool setAvailableDiskSpaceValue(double value);
02650
02657 bool setAvailableMemoryUnit(std::string unit);
02658
02665 bool setAvailableMemoryDescription(std::string description);
02666
02673 bool setAvailableMemoryValue(double value);
02674
02681 bool setAvailableCPUSpeedUnit(std::string unit);
02682
02689 bool setAvailableCPUSpeedDescription(std::string description);
02690
02697 bool setAvailableCPUSpeedValue(double value);
02698
02705 bool setAvailableCPUNumberDescription(std::string description);
02706
02713 bool setAvailableCPUNumberValue(int value);
02714
02721 bool setNumberOfOtherSystemResults(int num);
02722
02730 bool setOtherSystemResultName(int idx, std::string name);
02731
02739 bool setOtherSystemResultValue(int idx, std::string value);
02740
02748 bool setOtherSystemResultDescription(int idx, std::string description);
02749
02756 bool setCurrentState(std::string currentState);
02757
02764 bool setCurrentJobCount(int jobCount);
02765
02772 bool setTotalJobsSoFar(int number);
02773
02780 bool setTimeServiceStarted(std::string startTime);
02781
02788 bool setServiceUtilization(double value);
02789
02790
02797 bool setNumberOfOtherServiceResults(int num);
02798
02806 bool setOtherServiceResultName(int idx, std::string name);
02807
02815 bool setOtherServiceResultValue(int idx, std::string value);
02816
02824 bool setOtherServiceResultDescription(int idx, std::string description);
02825
02826
02833 bool setJobStatus(std::string status);
02834
02841 bool setJobSubmitTime(std::string submitTime);
02842
02849 bool setScheduledStartTime(std::string scheduledStartTime);
02850
02857 bool setActualStartTime(std::string actualStartTime);
02858
02865 bool setJobEndTime(std::string endTime);
02866
02867
02874 bool setTime(double time);
02875
02886 bool addTimingInformation(std::string type, std::string category,
02887 std::string unit, std::string description, double value);
02888
02901 bool setTimingInformation(int idx, std::string type, std::string category,
02902 std::string unit, std::string description, double value);
02903
02910 bool setNumberOfTimes(int numberOfTimes);
02911
02918 bool setTimeNumber(int timeNumber);
02919
02926 bool setUsedDiskSpaceUnit(std::string unit);
02927
02934 bool setUsedDiskSpaceDescription(std::string description);
02935
02942 bool setUsedDiskSpaceValue(double value);
02943
02950 bool setUsedMemoryUnit(std::string unit);
02951
02958 bool setUsedMemoryDescription(std::string description);
02959
02966 bool setUsedMemoryValue(double value);
02967
02974 bool setUsedCPUSpeedUnit(std::string unit);
02975
02982 bool setUsedCPUSpeedDescription(std::string description);
02983
02990 bool setUsedCPUSpeedValue(double value);
02991
02998 bool setUsedCPUNumberDescription(std::string description);
02999
03006 bool setUsedCPUNumberValue(int value);
03007
03014 bool setNumberOfOtherJobResults(int num);
03015
03023 bool setOtherJobResultName(int idx, std::string name);
03024
03032 bool setOtherJobResultValue(int idx, std::string value);
03033
03041 bool setOtherJobResultDescription(int idx, std::string description);
03042
03043
03050 bool setVariableNumber(int variableNumber);
03051
03058 bool setObjectiveNumber(int objectiveNumber);
03059
03066 bool setConstraintNumber(int constraintNumber);
03067
03080 bool setSolutionNumber(int number);
03081
03082
03095 bool setSolutionStatus(int solIdx, std::string type, std::string description);
03096
03104 bool setSolutionStatusType(int solIdx, std::string type);
03105
03113 bool setNumberOfSolutionSubstatuses(int solIdx, int num);
03114
03122 bool setSolutionStatusDescription(int solIdx, std::string description);
03123
03132 bool setSolutionSubstatusType(int solIdx, int substatusIdx, std::string type);
03133
03142 bool setSolutionSubstatusDescription(int solIdx, int substatusIdx, std::string description);
03143
03144
03157 bool setSolutionTargetObjectiveIdx(int solIdx, int objectiveIdx);
03158
03168 bool setSolutionWeightedObjectives(int solIdx, bool weightedObjectives);
03169
03181 bool setSolutionMessage(int solIdx, std::string msg);
03182
03192 bool setNumberOfPrimalVariableValues(int solIdx, int n);
03193
03204 bool setPrimalVariableValuesSparse(int solIdx, std::vector<IndexValuePair*> x);
03205
03215 bool setPrimalVariableValuesDense(int solIdx, double *x);
03216
03226 bool setNumberOfVarValues(int solIdx, int numberOfVar);
03227
03239 bool setVarValue(int solIdx, int number, int idx, double val);
03240
03250 bool setNumberOfVarValuesString(int solIdx, int numberOfVar);
03251
03263 bool setVarValueString(int solIdx, int number, int idx, std::string str);
03264
03265
03279 bool setBasisStatus(int solIdx, char object, int status, int *i, int ni);
03280
03297 bool setNumberOfOtherVariableResults(int solIdx, int numberOfOtherVariableResults);
03298
03316 bool setAnOtherVariableResultSparse(int solIdx, int otherIdx, std::string name, std::string value, std::string description, int *idx, std::string *s, int n);
03317
03333 bool setAnOtherVariableResultDense(int solIdx, int otherIdx, std::string name, std::string value, std::string description, std::string *s);
03334
03348 bool setOtherVariableResultNumberOfVar(int solIdx, int otherIdx, int numberOfVar);
03349
03363 bool setOtherVariableResultNumberOfEnumerations(int solIdx, int otherIdx, int numberOfVar);
03364
03378 bool setOtherVariableResultName(int solIdx, int otherIdx, std::string name);
03379
03393 bool setOtherVariableResultValue(int solIdx, int otherIdx, std::string value);
03394
03408 bool setOtherVariableResultDescription(int solIdx, int otherIdx, std::string description);
03409
03424 bool setOtherVariableResultVarIdx(int solIdx, int otherIdx, int varIdx, int idx);
03425
03440 bool setOtherVariableResultVar(int solIdx, int otherIdx, int varIdx, std::string value);
03441
03461 bool setOtherOptionEnumeration(int solIdx, int otherIdx, char object, int enumIdx, std::string value, std::string description, int *i, int ni);
03462
03479 bool setNumberOfOtherObjectiveResults(int solIdx, int numberOfOtherObjectiveResults);
03480
03490 bool setNumberOfObjValues(int solIdx, int numberOfObj);
03491
03501 bool setNumberOfObjectiveValues(int solIdx, int n);
03502
03503
03519 bool setObjectiveValuesSparse(int solIdx, std::vector<IndexValuePair*> x);
03520
03535 bool setObjectiveValuesDense(int solIdx, double *objectiveValues);
03536
03548 bool setObjValue(int solIdx, int number, int idx, double val);
03549
03563 bool setOtherObjectiveResultNumberOfObj(int solIdx, int otherIdx, int numberOfObj);
03564
03578 bool setOtherObjectiveResultNumberOfEnumerations(int solIdx, int otherIdx, int numberOfObj);
03579
03593 bool setOtherObjectiveResultName(int solIdx, int otherIdx, std::string name);
03594
03608 bool setOtherObjectiveResultValue(int solIdx, int otherIdx, std::string value);
03609
03623 bool setOtherObjectiveResultDescription(int solIdx, int otherIdx, std::string description);
03624
03639 bool setOtherObjectiveResultObjIdx(int solIdx, int otherIdx, int objIdx, int idx);
03640
03655 bool setOtherObjectiveResultObj(int solIdx, int otherIdx, int objIdx, std::string value);
03656
03673 bool setNumberOfOtherConstraintResults(int solIdx, int numberOfOtherConstraintResults);
03674
03684 bool setNumberOfDualValues(int solIdx, int numberOfCon);
03685
03686
03696 bool setNumberOfDualVariableValues(int solIdx, int n);
03697
03698
03709 bool setDualVariableValuesSparse(int solIdx, std::vector<IndexValuePair*> x);
03710
03711
03720 bool setDualVariableValuesDense(int solIdx, double *y);
03721
03731 bool setConstraintValuesDense(int solIdx, double *constraintValues);
03732
03733
03734
03746 bool setDualValue(int solIdx, int number, int idx, double val);
03747
03761 bool setOtherConstraintResultNumberOfCon(int solIdx, int otherIdx, int numberOfCon);
03762
03776 bool setOtherConstraintResultNumberOfEnumerations(int solIdx, int otherIdx, int numberOfCon);
03777
03791 bool setOtherConstraintResultName(int solIdx, int otherIdx, std::string name);
03792
03806 bool setOtherConstraintResultValue(int solIdx, int otherIdx, std::string value);
03807
03821 bool setOtherConstraintResultDescription(int solIdx, int otherIdx, std::string description);
03822
03837 bool setOtherConstraintResultConIdx(int solIdx, int otherIdx, int conIdx, int idx);
03838
03853 bool setOtherConstraintResultCon(int solIdx, int otherIdx, int conIdx, std::string value);
03854
03872 bool setNumberOfOtherSolutionResults(int solIdx, int numberOfOtherSolutionResults);
03873
03883 bool setOtherSolutionResultName(int solIdx, int otherIdx, std::string name);
03884
03894 bool setOtherSolutionResultCategory(int solIdx, int otherIdx, std::string category);
03895
03905 bool setOtherSolutionResultDescription(int solIdx, int otherIdx, std::string description);
03906
03916 bool setOtherSolutionResultNumberOfItems(int solIdx, int otherIdx, int numberOfItems);
03917
03928 bool setOtherSolutionResultItem(int solIdx, int otherIdx, int itemIdx, std::string item);
03929
03938 bool setNumberOfSolverOutputs(int numberOfSolverOutputs);
03939
03947 bool setSolverOutputName(int otherIdx, std::string name);
03948
03956 bool setSolverOutputCategory(int otherIdx, std::string category);
03957
03965 bool setSolverOutputDescription(int otherIdx, std::string description);
03966
03975 bool setSolverOutputNumberOfItems(int otherIdx, int numberOfItems);
03976
03985 bool setSolverOutputItem(int otherIdx, int itemIdx, std::string item);
03986
03987
03988 };
03989 #endif