Skip to content
Snippets Groups Projects
Commit d4ffeea6 authored by Stefano Borini's avatar Stefano Borini
Browse files

changed progress event to accommodate for more information

parent 48736ed1
No related branches found
No related tags found
1 merge request!187Propagate data values in MCO events
from traits.api import HasStrictTraits, Tuple
from traits.api import HasStrictTraits, Tuple, List, Instance, Float
from force_bdss.core.data_value import DataValue
class BaseDriverEvent(HasStrictTraits):
......@@ -19,5 +21,6 @@ class MCOProgressEvent(BaseDriverEvent):
""" The MCO driver should emit this event for every new evaluation that has
been completed. It carries data about the evaluation, specifically the
input data (MCO parameter values) and the resulting output (KPIs)."""
input = Tuple()
output = Tuple()
optimal_point = List(Instance(DataValue))
optimal_kpis = List(Instance(DataValue))
weights = List(Float())
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment