|
Coverage Control Library
|
Controller class for CVT based controllers. More...
Public Member Functions | |
| __init__ (self, dict config, Parameters params, CoverageSystem env) | |
| Constructor for the CVT controller. | |
| (float, bool) | step (self, CoverageSystem env) |
| Step function for the CVT controller. | |
Public Attributes | |
| name = config["Name"] | |
| params = params | |
| alg = DecentralizedCVT(params, env) | |
Controller class for CVT based controllers.
Definition at line 43 of file controllers.py.
| __init__ | ( | self, | |
| dict | config, | ||
| Parameters | params, | ||
| CoverageSystem | env ) |
Constructor for the CVT controller.
| config | Configuration dictionary |
| params | Parameters object |
| env | CoverageSystem object |
Definition at line 52 of file controllers.py.
| (float, bool) step | ( | self, | |
| CoverageSystem | env ) |
Step function for the CVT controller.
Performs three steps: 1. Compute actions using the CVT algorithm 2. Get the actions from the algorithm 3. Step the environment using the actions
| env | CoverageSystem object |
Definition at line 79 of file controllers.py.
| alg = DecentralizedCVT(params, env) |
Definition at line 57 of file controllers.py.
| name = config["Name"] |
Definition at line 53 of file controllers.py.
| params = params |
Definition at line 54 of file controllers.py.