GEGELATI
job.h
1
36#ifndef JOB_H
37#define JOB_H
38
39#include <cstdint>
40#include <vector>
41
42#include "tpg/tpgVertex.h"
43
44namespace Learn {
52 class Job
53 {
54 protected:
59
63 const uint64_t idx;
64
68 const uint64_t archiveSeed;
69
70 public:
72 Job() = delete;
73
83 Job(const TPG::TPGVertex* root, uint64_t archiveSeed = 0,
84 uint64_t idx = 0)
86 {
87 }
88
90 virtual ~Job() = default;
91
97 uint64_t getIdx() const;
98
104 uint64_t getArchiveSeed() const;
105
111 virtual const TPG::TPGVertex* getRoot() const;
112 };
113} // namespace Learn
114
115#endif
This class embeds roots for the simulations.
Definition: job.h:53
uint64_t getIdx() const
Getter of index.
Definition: job.cpp:39
Job(const TPG::TPGVertex *root, uint64_t archiveSeed=0, uint64_t idx=0)
Constructor enabling storing elements in the job so that the Learning Agents will be able to use them...
Definition: job.h:83
virtual ~Job()=default
Default virtual destructor.
const uint64_t idx
Definition: job.h:63
virtual const TPG::TPGVertex * getRoot() const
Getter of the root.
Definition: job.cpp:49
Job()=delete
Deleted default constructor.
const TPG::TPGVertex * root
Definition: job.h:58
uint64_t getArchiveSeed() const
Getter of archiveSeed.
Definition: job.cpp:44
const uint64_t archiveSeed
Definition: job.h:68
Abstract class representing the vertices of a TPGGraph.
Definition: tpgVertex.h:49
Definition: adversarialEvaluationResult.h:45