15 lines
465 B
Python
15 lines
465 B
Python
from __future__ import annotations
|
|
from typing import List, Dict
|
|
|
|
|
|
def simple_co_simulation(domains: List[str], steps: int) -> List[Dict[str, float]]:
|
|
"""Tiny heuristic co-simulation across domains.
|
|
|
|
Returns a list of domain-objective scores per step.
|
|
"""
|
|
results: List[Dict[str, float]] = []
|
|
for t in range(steps):
|
|
row = {d: max(0.0, 1.0 * (steps - t) + i) for i, d in enumerate(domains)}
|
|
results.append(row)
|
|
return results
|