Antares Xpansion
Investment simulations for Antares studies
Loading...
Searching...
No Matches
RandomBatchShuffler.h
1
#ifndef SRC_CPP_BENDERS_BENDERS_BY_BATCH_INCLUDE_RANDOMBATCHSHUFFLER_H_
2
#define SRC_CPP_BENDERS_BENDERS_BY_BATCH_INCLUDE_RANDOMBATCHSHUFFLER_H_
3
4
#include <vector>
5
6
class
RandomBatchShuffler
{
7
private
:
8
unsigned
number_of_batch_;
9
10
public
:
11
explicit
RandomBatchShuffler
(
unsigned
number_of_batch)
12
: number_of_batch_(number_of_batch) {}
13
14
std::vector<unsigned> GetCyclicBatchOrder(
unsigned
batch_counter)
const
;
15
};
16
#endif
// SRC_CPP_BENDERS_BENDERS_BY_BATCH_INCLUDE_RANDOMBATCHSHUFFLER_H_
RandomBatchShuffler
Definition
RandomBatchShuffler.h:6
src
cpp
benders
benders_by_batch
include
antares-xpansion
benders
benders_by_batch
RandomBatchShuffler.h
Generated by
1.12.0