pub enum QueryType {
LinearSystem,
PageRankSingle {
source: usize,
},
PageRankPairwise {
source: usize,
target: usize,
},
SpectralFilter {
polynomial_degree: usize,
},
BatchLinearSystem {
batch_size: usize,
},
}Expand description
Query type describing what the caller wants to solve.
The SolverRouter inspects this together with the SparsityProfile to
select the most appropriate Algorithm.
Variants§
LinearSystem
Standard sparse linear system Ax = b.
PageRankSingle
Single-source Personalized PageRank.
PageRankPairwise
Pairwise Personalized PageRank between two nodes.
SpectralFilter
Spectral graph filter using polynomial expansion.
BatchLinearSystem
Batch of linear systems sharing the same matrix A but different
right-hand sides.
Trait Implementations§
impl Copy for QueryType
impl Eq for QueryType
impl StructuralPartialEq for QueryType
Auto Trait Implementations§
impl Freeze for QueryType
impl RefUnwindSafe for QueryType
impl Send for QueryType
impl Sync for QueryType
impl Unpin for QueryType
impl UnsafeUnpin for QueryType
impl UnwindSafe for QueryType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more