Arbiter
Dependency manager library that supports decentralization
|
Enumerates a resolved dependency graph in "install order," where all projects listed within one phase may be safely installed in parallel with respect to each another, and the projects within each successive phase must be installed only after the projects in all previous phases have been completely installed. More...
Public Types | |
using | PhaseSet = std::set< ArbiterResolvedDependency > |
using | SortedEdgesMap = std::unordered_map< ArbiterProjectIdentifier, std::vector< ArbiterProjectIdentifier >> |
Public Member Functions | |
ArbiterResolvedDependencyInstaller ()=default | |
std::unique_ptr< Arbiter::Base > | clone () const override |
bool | contains (const ArbiterResolvedDependency &node) const |
size_t | countInPhase (size_t phaseIndex) const |
std::ostream & | describe (std::ostream &os) const override |
bool | operator!= (const Base &other) const |
bool | operator== (const Arbiter::Base &other) const override |
Public Attributes | |
SortedEdgesMap | _edges |
std::vector< PhaseSet > | _phases |
Enumerates a resolved dependency graph in "install order," where all projects listed within one phase may be safely installed in parallel with respect to each another, and the projects within each successive phase must be installed only after the projects in all previous phases have been completely installed.
using ArbiterResolvedDependencyInstaller::PhaseSet = std::set<ArbiterResolvedDependency> |
using ArbiterResolvedDependencyInstaller::SortedEdgesMap = std::unordered_map<ArbiterProjectIdentifier, std::vector<ArbiterProjectIdentifier>> |
|
default |
|
overridevirtual |
Implements Arbiter::Base.
bool ArbiterResolvedDependencyInstaller::contains | ( | const ArbiterResolvedDependency & | node | ) | const |
size_t ArbiterResolvedDependencyInstaller::countInPhase | ( | size_t | phaseIndex | ) | const |
|
overridevirtual |
Implements Arbiter::Base.
|
inherited |
|
overridevirtual |
Implements Arbiter::Base.
SortedEdgesMap ArbiterResolvedDependencyInstaller::_edges |
std::vector<PhaseSet> ArbiterResolvedDependencyInstaller::_phases |