Exemple #1
0
 public Dispatcher(
     ModelElementBase parent,
     string name,
     RLLayerBase reinforcementLearningLayer,
     ServerPool serverPool) : base(parent, name, reinforcementLearningLayer)
 {
     this.serverPool = serverPool;
     state           = new double[2];
 }
Exemple #2
0
 public AccessController(ModelElementBase parent, string name, RLLayer RLLayer) : base(parent, name)
 {
     ServerPool        = new ServerPool(this, "Server_pool", 10, new UniformDistribution(10, 20));
     Dispatcher        = new Dispatcher(this, "Dispatcher", RLLayer, ServerPool);
     CustomerGenerator = new CustomerGenerator(this, "Customer_generator", new ConstantDistribution(1), new UniformDistribution(0, 4), Dispatcher);
 }