Overview
This package provides a rollout-based graphical data structure. Its intended use is building game state graphs for general game-playing or similar AI tasks.
Vertices correspond to game states.
Edges correspond to game-modifying moves. They are bidirectional, so paths may be traced up and down the graph.
References into the graph may be saved freely, and the graph may be grown without invaliding these references.
A graph may be garbage-collected by pruning all elements that cannot be reached from a set of vertices. (External references into the graph have to be remapped and revalidated after garbage collection.)
Copyright
Copyright 2015-2025, Donald S. Black.
Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.