Vlad-Shcherbina / icfpc2015-tbd

2 stars 0 forks source link

BigStepGame simulator interface #13

Open Vlad-Shcherbina opened 9 years ago

Vlad-Shcherbina commented 9 years ago

It's a new simulator interface incompatible with IGame. It is only capable of representing game states immediately after unit spawned.

It is intended for use with two-phase solvers (#11), and I'll try to make it convenient to move crucial pieces to C++ in the future.

Vlad-Shcherbina commented 9 years ago

I'm working on it.

Vlad-Shcherbina commented 9 years ago

@crugwoben was planning to reimplement get_placement_graph in C++, some time Sunday morning.

Current implementation is covered with tests reasonably well. But these tests are golden tests for the whole replays, so don't expect accurate diagnostics.

I think the only problem that existing tests are not very likely to catch is if get_placement_graph_cpp will return subgraph of the actual placement graph. But for that it would be enough to compare get_placement_graph and get_placement_graph_cpp results as this function being is called by existing tests.