#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 |
Position, point in time and gained points of each car.
|
inline |
Creates a zero initialized CarData object for a given amount of cars.
[in] | size | Number of cars |
|
inline |
Creates a copy of an existing CarData object.
[in] | other | Object to copy |
|
inline |
Types::CarData::t | ( | {size} | ) |
Types::CarData::y | ( | {size} | ) |
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.