C# Class ZeroInstall.Services.Solvers.BacktrackingSolver

Uses limited backtracking to solve Requirements. Does not find all possible solutions!
This class is immutable and thread-safe.
Inheritance: ISolver
Afficher le fichier Open project: 0install/0install-win

Méthodes publiques

Méthode Description
BacktrackingSolver ( [ config, [ feedManager, [ store, [ packageManager, [ handler ) : System

Creates a new simple solver.

Solve ( Requirements requirements ) : Selections

Method Details

BacktrackingSolver() public méthode

Creates a new simple solver.
public BacktrackingSolver ( [ config, [ feedManager, [ store, [ packageManager, [ handler ) : System
config [ User settings controlling network behaviour, solving, etc.
feedManager [ Provides access to remote and local s. Handles downloading, signature verification and caching.
store [ Used to check which s are already cached.
packageManager [ An external package manager that can install s.
handler [ A callback object used when the the user needs to be asked questions or informed about download and IO tasks.
Résultat System

Solve() public méthode

public Solve ( Requirements requirements ) : Selections
requirements Requirements
Résultat Selections