class OracleSolver[source]

OracleSolver(dataset:dl4to.dataset.TopoDataset, device:str='cpu') :: TopoSolver

A topo solver that gets a topo dataset of problems and solutions and returns the ground truth solution for any given problem object from the dataset.

Type Default Details
dataset dl4to.dataset.TopoDataset The dataset which is used to look for the given problem and return the assoziated ground truth solution.
device str cpu The device of the topo solver. Possible options are "cpu" and "cuda".