File size: 618 Bytes
3bf8430
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
from typing import Dict, List
from abc import ABC, abstractmethod



class ParameterController(ABC) :
    """
    Abstract base for driving the sequence of `parameter` dicts fed into a VerifiableEnvironment.generator(seed, parameter) call.
    """

    def __init__(self) :
        pass


    @abstractmethod
    def update(self) -> None :
        """
        Advance to the next parameter setting and store it
        """
        pass


    @abstractmethod
    def get_parameter_list(self) -> List[Dict] :
        """
        Returns the full list of parameter dicts this controller manages.
        """
        pass