Verify Paths
- discopygal.solvers.verify_paths.verify_paths(scene: Scene, paths: PathCollection)
Get a scene and a path, and verify that the given path collection is indeed a valid solution
- Parameters:
scene (
Scene
) – scenepaths (:class:~discopygal.solvers.PathCollection`) – paths to verify
- Returns:
True if paths are valid and if invalid, return a reason.
- Return type:
bool
,str