pub struct CliArgs {Show 13 fields
pub basename: PathBuf,
pub transpose: Option<PathBuf>,
pub symmetric: bool,
pub log2m: u32,
pub external: bool,
pub hll8: bool,
pub upper_bound: Option<usize>,
pub threshold: Option<f64>,
pub centralities: Centralities,
pub num_threads: NumThreadsArg,
pub granularity: GranularityArgs,
pub log_interval: LogIntervalArg,
pub seed: u64,
}Fields§
§basename: PathBufThe basename of the graph.
transpose: Option<PathBuf>The basename of the transpose of the graph. If available, HyperBall will perform systolic iterations which will speed up the computation. If the graph is symmetric, use the –symm option instead.
symmetric: boolThe graph is symmetric (it will be used as its own transpose).
log2m: u32The base-2 logarithm of the number of registers for the HyperLogLog cardinality estimators.
external: boolUses an external (spill-to-disk) output store in TMPDIR, keeping only one counter array in RAM instead of two; halves the counter memory at the cost of extra I/O after each iteration.
hll8: boolUse HyperLogLog8 (byte-sized registers with SIMD-accelerated merges); trades ~33% extra space for significantly faster merge operations.
upper_bound: Option<usize>Maximum number of iterations to run.
threshold: Option<f64>A value that will be used to stop the computation by relative increment if the neighborhood function is being computed. Otherwise, the computation will stop when all estimators do not change their values.
centralities: Centralities§num_threads: NumThreadsArg§granularity: GranularityArgs§log_interval: LogIntervalArg§seed: u64The seed of the pseudorandom number generator used for initialization.
Trait Implementations§
Source§impl Args for CliArgs
impl Args for CliArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl CommandFactory for CliArgs
impl CommandFactory for CliArgs
Source§impl FromArgMatches for CliArgs
impl FromArgMatches for CliArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl Parser for CliArgs
impl Parser for CliArgs
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Auto Trait Implementations§
impl Freeze for CliArgs
impl RefUnwindSafe for CliArgs
impl Send for CliArgs
impl Sync for CliArgs
impl Unpin for CliArgs
impl UnsafeUnpin for CliArgs
impl UnwindSafe for CliArgs
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> EitherFullOrEpsCopy<T> for Twhere
T: ?Sized,
impl<T> FullCopyConsistent<T> for Twhere
T: ?Sized,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more