Correct the codes

This commit is contained in:
D-X-Y
2021-05-24 05:38:02 +00:00
parent 3a2af8e55a
commit 53b63d3924
4 changed files with 36 additions and 23 deletions

View File

@@ -22,12 +22,12 @@ def get_synthetic_env(total_timestamp=1000, num_per_task=1000, mode=None, versio
[mean_generator], [[std_generator]], (-2, 2)
)
time_generator = TimeStamp(
min_timestamp=0, max_timestamp=math.pi * 6, num=total_timestamp, mode=mode
min_timestamp=0, max_timestamp=math.pi * 8, num=total_timestamp, mode=mode
)
oracle_map = DynamicLinearFunc(
params={
0: ComposedSinFunc(params={0: 2.0, 1: 1.0, 2: 2.2}),
1: ComposedSinFunc(params={0: 1.5, 1: 0.4, 2: 2.2}),
1: ComposedSinFunc(params={0: 1.5, 1: 0.6, 2: 1.8}),
}
)
dynamic_env = SyntheticDEnv(