RideDistributor  0.0.1
 All Classes Namespaces Files Functions Variables Typedefs Macros Pages
Public Member Functions | Public Attributes | List of all members
Types::CarData Struct Reference

#include <Types.hpp>

Public Member Functions

 CarData (const unsigned size)
 
 y ({size})
 
 t ({size})
 
 p ({size})
 
 CarData (CarData &other)
 

Public Attributes

Tensor< int > x
 
Tensor< int > y
 
Tensor< int > t
 
Tensor< int > p
 

Detailed Description

Position, point in time and gained points of each car.

Constructor & Destructor Documentation

Types::CarData::CarData ( const unsigned  size)
inline

Creates a zero initialized CarData object for a given amount of cars.

Parameters
[in]sizeNumber of cars
Types::CarData::CarData ( CarData other)
inline

Creates a copy of an existing CarData object.

Parameters
[in]otherObject to copy

Member Function Documentation

Types::CarData::p ( {size}  )
inline
Types::CarData::t ( {size}  )
Types::CarData::y ( {size}  )

Member Data Documentation

Tensor<int> Types::CarData::p

Gained points of each car.

Tensor<int> Types::CarData::t

Point in time for each car.

Tensor<int> Types::CarData::x

X position of each car.

Tensor<int> Types::CarData::y

Y Position of each car.


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