solver  1.0
Public Member Functions | Public Attributes | List of all members
Solution Struct Reference

The structure representing a solution found by an algorithm. More...

#include <Solution.h>

+ Collaboration diagram for Solution:

Public Member Functions

 Solution ()
 It constructs an empty solution.
 

Public Attributes

State status
 Enum specifying whether the solution is optimal, feasible, or infeasible... More...
 
double totalEnergy
 The amount of energy required per robot cycle.
 
double lowerBound
 Lower bound on energy, i.e. there is not a solution consuming less energy than this number.
 
double runTime
 Run time (seconds) of the optimization algorithm required for obtaining this solution.
 
double memUsage
 Memory usage (bytes) of the optimization algorithm, currently not used due to implementation issues.
 
std::map< uint32_t, std::pair< double, double > > startTimeAndDuration
 Mapping of the activity identification to its start time and duration.
 
std::map< uint32_t, std::pair< uint32_t, uint32_t > > pointAndPowerMode
 It maps the identification of a static activity to its assigned coordinate and used power saving mode.
 

Detailed Description

The structure representing a solution found by an algorithm.

The structure uniquely describes the solution found by an algorithm. Besides the solution, runtime, and memory usage can be also recorded.

Definition at line 50 of file Solution.h.

Member Data Documentation

State Solution::status

Enum specifying whether the solution is optimal, feasible, or infeasible...

See also
State

Definition at line 55 of file Solution.h.


The documentation for this struct was generated from the following file: