Public Member Functions | Public Attributes | List of all members
Summary Class Reference

Class Summary contains brief information about execution results. More...

#include <Summary.h>

Public Member Functions

 Summary ()=default
 Default constructor. More...
 
 Summary (float srate, float runtime, float flowtime, float makespan, int collisions, int collisionsObst)
 Constructor with parameters. More...
 
 Summary (const Summary &obj)
 Copy constructor. More...
 
std::string ToString () const
 Creates STL string, which contains all values splitted with tabulation. More...
 
 ~Summary ()=default
 Default destructor. More...
 

Public Attributes

int collisions
 Shows the number of collisions between agents while execution of task. More...
 
int collisionsObst
 Shows the number of collisions between agents and static obstacles while execution of task. More...
 
float flowTime
 Shows the sum of time steps of all agents. More...
 
float makeSpan
 Shows the maximum value of time steps of amoung all agents. More...
 
float runTime
 Shows the time of running of task. More...
 
float successRate
 Shows the percent of agents, which succsed their tasks. More...
 

Detailed Description

Class Summary contains brief information about execution results.

Summary includes following values:

An illustration of the flowtime and makespan is presented in the figure below.

Agent sheme

Definition at line 32 of file Summary.h.

Constructor & Destructor Documentation

Summary::Summary ( )
default

Default constructor.

Summary::~Summary ( )
default

Default destructor.

Summary::Summary ( float  srate,
float  runtime,
float  flowtime,
float  makespan,
int  collisions,
int  collisionsObst 
)
inline

Constructor with parameters.

Parameters
srateThe percent of agents, which succsed their tasks.
runtimeThe time of running of a task.
flowtimeThe sum of time steps of all agents.
makespanThe maximum value of time steps of amoung all agents.
collisionsThe number of collisions between agents while execution of task.
collisionsObstThe number of collisions between agents and static obstacles while execution of task.

Definition at line 52 of file Summary.h.

Summary::Summary ( const Summary obj)
inline

Copy constructor.

Parameters
objObject to copy.

Definition at line 59 of file Summary.h.

Member Function Documentation

std::string Summary::ToString ( ) const
inline

Creates STL string, which contains all values splitted with tabulation.

Returns
STL string, which contains all values splitted with tabulation.

Definition at line 66 of file Summary.h.

Member Data Documentation

int Summary::collisions

Shows the number of collisions between agents while execution of task.

Definition at line 81 of file Summary.h.

int Summary::collisionsObst

Shows the number of collisions between agents and static obstacles while execution of task.

Definition at line 82 of file Summary.h.

float Summary::flowTime

Shows the sum of time steps of all agents.

Definition at line 79 of file Summary.h.

float Summary::makeSpan

Shows the maximum value of time steps of amoung all agents.

Definition at line 80 of file Summary.h.

float Summary::runTime

Shows the time of running of task.

Definition at line 78 of file Summary.h.

float Summary::successRate

Shows the percent of agents, which succsed their tasks.

Definition at line 77 of file Summary.h.


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


ORCAStar
Author(s): Stepan Drgachev
autogenerated on Wed Jul 15 2020 16:13:14