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
{
8
private
:
9
unsigned
number_of_batch_;
10
11
public
:
12
explicit
RandomBatchShuffler
(
unsigned
number_of_batch):
13
number_of_batch_(number_of_batch)
14
{
15
}
16
17
std::vector<unsigned> GetCyclicBatchOrder(
unsigned
batch_counter)
const
;
18
};
19
#endif
// SRC_CPP_BENDERS_BENDERS_BY_BATCH_INCLUDE_RANDOMBATCHSHUFFLER_H_
RandomBatchShuffler
Definition
RandomBatchShuffler.h:7
src
cpp
benders
benders_by_batch
include
antares-xpansion
benders
benders_by_batch
RandomBatchShuffler.h
Generated by
1.12.0