praxis_cli / cli / args
Module args
Contents
Quick Reference
| Item | Kind | Description |
|---|---|---|
Args | struct | |
Vrt | enum | |
Algorithm | enum | |
Analysis | enum | |
Approximation | enum | |
CutOffBasis | enum | |
Backend | enum | |
OutputFormat | enum |
Structs
Args
struct Args {
pub analysis: Analysis,
pub algorithm: Algorithm,
pub approximation: Option<Approximation>,
pub backend: Option<Backend>,
pub seed: u64,
pub num_trials: u32,
pub bitpacks_per_batch: Option<u32>,
pub batches: Option<u32>,
pub iterations: Option<u32>,
pub limit_order: Option<u32>,
pub cut_off: Option<f64>,
pub interactive_truncation: bool,
pub cut_set_stats_only: bool,
pub cut_off_basis: CutOffBasis,
pub mission_time: Option<f64>,
pub time_step: Option<f64>,
pub num_quantiles: Option<u32>,
pub num_bins: Option<u32>,
pub validate: bool,
pub verbosity: u32,
pub print: bool,
pub watch: bool,
pub visualize: bool,
pub visualize_out_dir: std::path::PathBuf,
pub visualize_sequence: Option<String>,
pub visualize_stdout: bool,
pub optimize: bool,
pub treewidth: bool,
pub pathwidth: bool,
pub widths_only: bool,
pub simplify_house_events: bool,
pub complement_unity: bool,
pub delete_term: bool,
pub early_stop: bool,
pub delta: f64,
pub confidence: f64,
pub burn_in: u64,
pub vrt: Vrt,
pub is_bias_factor: f64,
pub is_max_events: u32,
pub is_q_min: f64,
pub stratify_events: u32,
pub output_file: Option<std::path::PathBuf>,
pub output_format: OutputFormat,
pub saphire_project: Option<String>,
pub saphire_analysis: String,
pub input_file: Option<std::path::PathBuf>,
}Trait Implementations
impl Args for Args
<span id="args-args-group-id"></span>
fn group_id() -> Option<clap::Id><span id="args-args-augment-args"></span>
fn augment_args<'b>(__clap_app: clap::Command) -> clap::Command<span id="args-args-augment-args-for-update"></span>
fn augment_args_for_update<'b>(__clap_app: clap::Command) -> clap::Command
impl<ST> CastableFrom for Args
impl CommandFactory for Args
<span id="args-commandfactory-command"></span>
fn command<'b>() -> clap::Command<span id="args-commandfactory-command-for-update"></span>
fn command_for_update<'b>() -> clap::Command
impl Debug for Args
- <span id="args-debug-fmt"></span>
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result
impl FromArgMatches for Args
<span id="args-fromargmatches-from-arg-matches"></span>
fn from_arg_matches(__clap_arg_matches: &clap::ArgMatches) -> ::std::result::Result<Self, clap::Error><span id="args-fromargmatches-from-arg-matches-mut"></span>
fn from_arg_matches_mut(__clap_arg_matches: &mut clap::ArgMatches) -> ::std::result::Result<Self, clap::Error><span id="args-fromargmatches-update-from-arg-matches"></span>
fn update_from_arg_matches(&mut self, __clap_arg_matches: &clap::ArgMatches) -> ::std::result::Result<(), clap::Error><span id="args-fromargmatches-update-from-arg-matches-mut"></span>
fn update_from_arg_matches_mut(&mut self, __clap_arg_matches: &mut clap::ArgMatches) -> ::std::result::Result<(), clap::Error>
impl Instrument for Args
impl IntoEither for Args
impl Parser for Args
impl Pointable for Args
<span id="args-pointable-const-align"></span>
const ALIGN: usize<span id="args-pointable-type-init"></span>
type Init = T<span id="args-pointable-init"></span>
unsafe fn init(init: <T as Pointable>::Init) -> usize<span id="args-pointable-deref"></span>
unsafe fn deref<'a>(ptr: usize) -> &'a T<span id="args-pointable-deref-mut"></span>
unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T<span id="args-pointable-drop"></span>
unsafe fn drop(ptr: usize)
impl Read for Args
impl Same for Args
- <span id="args-same-type-output"></span>
type Output = T
impl<SS> SupersetOf for Args
<span id="args-supersetof-to-subset"></span>
fn to_subset(&self) -> Option<SS><span id="args-supersetof-is-in-subset"></span>
fn is_in_subset(&self) -> bool<span id="args-supersetof-to-subset-unchecked"></span>
fn to_subset_unchecked(&self) -> SS<span id="args-supersetof-from-subset"></span>
fn from_subset(element: &SS) -> SP
impl<V> VZip for Args
- <span id="args-vzip"></span>
fn vzip(self) -> V
impl WithSubscriber for Args
Enums
Vrt
enum Vrt {
None,
Importance,
Stratified,
}Trait Implementations
impl<ST> CastableFrom for Vrt
impl Clone for Vrt
- <span id="vrt-clone"></span>
fn clone(&self) -> Vrt—Vrt
impl Copy for Vrt
impl Debug for Vrt
- <span id="vrt-debug-fmt"></span>
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result
impl Eq for Vrt
impl Instrument for Vrt
impl IntoEither for Vrt
impl PartialEq for Vrt
- <span id="vrt-partialeq-eq"></span>
fn eq(&self, other: &Vrt) -> bool—Vrt
impl Pointable for Vrt
<span id="vrt-pointable-const-align"></span>
const ALIGN: usize<span id="vrt-pointable-type-init"></span>
type Init = T<span id="vrt-pointable-init"></span>
unsafe fn init(init: <T as Pointable>::Init) -> usize<span id="vrt-pointable-deref"></span>
unsafe fn deref<'a>(ptr: usize) -> &'a T<span id="vrt-pointable-deref-mut"></span>
unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T<span id="vrt-pointable-drop"></span>
unsafe fn drop(ptr: usize)
impl Read for Vrt
impl Same for Vrt
- <span id="vrt-same-type-output"></span>
type Output = T
impl Scalar for Vrt
impl StructuralPartialEq for Vrt
impl<SS> SupersetOf for Vrt
<span id="vrt-supersetof-to-subset"></span>
fn to_subset(&self) -> Option<SS><span id="vrt-supersetof-is-in-subset"></span>
fn is_in_subset(&self) -> bool<span id="vrt-supersetof-to-subset-unchecked"></span>
fn to_subset_unchecked(&self) -> SS<span id="vrt-supersetof-from-subset"></span>
fn from_subset(element: &SS) -> SP
impl<V> VZip for Vrt
- <span id="vrt-vzip"></span>
fn vzip(self) -> V
impl ValueEnum for Vrt
<span id="vrt-valueenum-value-variants"></span>
fn value_variants<'a>() -> &'a [Self]<span id="vrt-valueenum-to-possible-value"></span>
fn to_possible_value<'a>(&self) -> ::std::option::Option<clap::builder::PossibleValue>
impl WithSubscriber for Vrt
Algorithm
enum Algorithm {
Bdd,
Zbdd,
ZbddDelterm,
Mocus,
MocusPi,
MonteCarlo,
}Trait Implementations
impl<ST> CastableFrom for Algorithm
impl Clone for Algorithm
- <span id="algorithm-clone"></span>
fn clone(&self) -> Algorithm—Algorithm
impl Copy for Algorithm
impl Debug for Algorithm
- <span id="algorithm-debug-fmt"></span>
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result
impl Eq for Algorithm
impl Instrument for Algorithm
impl IntoEither for Algorithm
impl PartialEq for Algorithm
- <span id="algorithm-partialeq-eq"></span>
fn eq(&self, other: &Algorithm) -> bool—Algorithm
impl Pointable for Algorithm
<span id="algorithm-pointable-const-align"></span>
const ALIGN: usize<span id="algorithm-pointable-type-init"></span>
type Init = T<span id="algorithm-pointable-init"></span>
unsafe fn init(init: <T as Pointable>::Init) -> usize<span id="algorithm-pointable-deref"></span>
unsafe fn deref<'a>(ptr: usize) -> &'a T<span id="algorithm-pointable-deref-mut"></span>
unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T<span id="algorithm-pointable-drop"></span>
unsafe fn drop(ptr: usize)
impl Read for Algorithm
impl Same for Algorithm
- <span id="algorithm-same-type-output"></span>
type Output = T
impl Scalar for Algorithm
impl StructuralPartialEq for Algorithm
impl<SS> SupersetOf for Algorithm
<span id="algorithm-supersetof-to-subset"></span>
fn to_subset(&self) -> Option<SS><span id="algorithm-supersetof-is-in-subset"></span>
fn is_in_subset(&self) -> bool<span id="algorithm-supersetof-to-subset-unchecked"></span>
fn to_subset_unchecked(&self) -> SS<span id="algorithm-supersetof-from-subset"></span>
fn from_subset(element: &SS) -> SP
impl<V> VZip for Algorithm
- <span id="algorithm-vzip"></span>
fn vzip(self) -> V
impl ValueEnum for Algorithm
<span id="algorithm-valueenum-value-variants"></span>
fn value_variants<'a>() -> &'a [Self]<span id="algorithm-valueenum-to-possible-value"></span>
fn to_possible_value<'a>(&self) -> ::std::option::Option<clap::builder::PossibleValue>
impl WithSubscriber for Algorithm
Analysis
enum Analysis {
ProbabilityOnly,
CutsetsOnly,
CutsetsAndProbability,
Ccf,
Sil,
Uncertainty,
Importance,
}Trait Implementations
impl<ST> CastableFrom for Analysis
impl Clone for Analysis
- <span id="analysis-clone"></span>
fn clone(&self) -> Analysis—Analysis
impl Copy for Analysis
impl Debug for Analysis
- <span id="analysis-debug-fmt"></span>
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result
impl Eq for Analysis
impl Instrument for Analysis
impl IntoEither for Analysis
impl PartialEq for Analysis
- <span id="analysis-partialeq-eq"></span>
fn eq(&self, other: &Analysis) -> bool—Analysis
impl Pointable for Analysis
<span id="analysis-pointable-const-align"></span>
const ALIGN: usize<span id="analysis-pointable-type-init"></span>
type Init = T<span id="analysis-pointable-init"></span>
unsafe fn init(init: <T as Pointable>::Init) -> usize<span id="analysis-pointable-deref"></span>
unsafe fn deref<'a>(ptr: usize) -> &'a T<span id="analysis-pointable-deref-mut"></span>
unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T<span id="analysis-pointable-drop"></span>
unsafe fn drop(ptr: usize)
impl Read for Analysis
impl Same for Analysis
- <span id="analysis-same-type-output"></span>
type Output = T
impl Scalar for Analysis
impl StructuralPartialEq for Analysis
impl<SS> SupersetOf for Analysis
<span id="analysis-supersetof-to-subset"></span>
fn to_subset(&self) -> Option<SS><span id="analysis-supersetof-is-in-subset"></span>
fn is_in_subset(&self) -> bool<span id="analysis-supersetof-to-subset-unchecked"></span>
fn to_subset_unchecked(&self) -> SS<span id="analysis-supersetof-from-subset"></span>
fn from_subset(element: &SS) -> SP
impl<V> VZip for Analysis
- <span id="analysis-vzip"></span>
fn vzip(self) -> V
impl ValueEnum for Analysis
<span id="analysis-valueenum-value-variants"></span>
fn value_variants<'a>() -> &'a [Self]<span id="analysis-valueenum-to-possible-value"></span>
fn to_possible_value<'a>(&self) -> ::std::option::Option<clap::builder::PossibleValue>
impl WithSubscriber for Analysis
Approximation
enum Approximation {
RareEvent,
Mcub,
}Trait Implementations
impl<ST> CastableFrom for Approximation
impl Clone for Approximation
- <span id="approximation-clone"></span>
fn clone(&self) -> Approximation—Approximation
impl Copy for Approximation
impl Debug for Approximation
- <span id="approximation-debug-fmt"></span>
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result
impl Eq for Approximation
impl Instrument for Approximation
impl IntoEither for Approximation
impl PartialEq for Approximation
- <span id="approximation-partialeq-eq"></span>
fn eq(&self, other: &Approximation) -> bool—Approximation
impl Pointable for Approximation
<span id="approximation-pointable-const-align"></span>
const ALIGN: usize<span id="approximation-pointable-type-init"></span>
type Init = T<span id="approximation-pointable-init"></span>
unsafe fn init(init: <T as Pointable>::Init) -> usize<span id="approximation-pointable-deref"></span>
unsafe fn deref<'a>(ptr: usize) -> &'a T<span id="approximation-pointable-deref-mut"></span>
unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T<span id="approximation-pointable-drop"></span>
unsafe fn drop(ptr: usize)
impl Read for Approximation
impl Same for Approximation
- <span id="approximation-same-type-output"></span>
type Output = T
impl Scalar for Approximation
impl StructuralPartialEq for Approximation
impl<SS> SupersetOf for Approximation
<span id="approximation-supersetof-to-subset"></span>
fn to_subset(&self) -> Option<SS><span id="approximation-supersetof-is-in-subset"></span>
fn is_in_subset(&self) -> bool<span id="approximation-supersetof-to-subset-unchecked"></span>
fn to_subset_unchecked(&self) -> SS<span id="approximation-supersetof-from-subset"></span>
fn from_subset(element: &SS) -> SP
impl<V> VZip for Approximation
- <span id="approximation-vzip"></span>
fn vzip(self) -> V
impl ValueEnum for Approximation
<span id="approximation-valueenum-value-variants"></span>
fn value_variants<'a>() -> &'a [Self]<span id="approximation-valueenum-to-possible-value"></span>
fn to_possible_value<'a>(&self) -> ::std::option::Option<clap::builder::PossibleValue>
impl WithSubscriber for Approximation
CutOffBasis
enum CutOffBasis {
Probability,
Frequency,
}Trait Implementations
impl<ST> CastableFrom for CutOffBasis
impl Clone for CutOffBasis
- <span id="cutoffbasis-clone"></span>
fn clone(&self) -> CutOffBasis—CutOffBasis
impl Copy for CutOffBasis
impl Debug for CutOffBasis
- <span id="cutoffbasis-debug-fmt"></span>
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result
impl Eq for CutOffBasis
impl Instrument for CutOffBasis
impl IntoEither for CutOffBasis
impl PartialEq for CutOffBasis
- <span id="cutoffbasis-partialeq-eq"></span>
fn eq(&self, other: &CutOffBasis) -> bool—CutOffBasis
impl Pointable for CutOffBasis
<span id="cutoffbasis-pointable-const-align"></span>
const ALIGN: usize<span id="cutoffbasis-pointable-type-init"></span>
type Init = T<span id="cutoffbasis-pointable-init"></span>
unsafe fn init(init: <T as Pointable>::Init) -> usize<span id="cutoffbasis-pointable-deref"></span>
unsafe fn deref<'a>(ptr: usize) -> &'a T<span id="cutoffbasis-pointable-deref-mut"></span>
unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T<span id="cutoffbasis-pointable-drop"></span>
unsafe fn drop(ptr: usize)
impl Read for CutOffBasis
impl Same for CutOffBasis
- <span id="cutoffbasis-same-type-output"></span>
type Output = T
impl Scalar for CutOffBasis
impl StructuralPartialEq for CutOffBasis
impl<SS> SupersetOf for CutOffBasis
<span id="cutoffbasis-supersetof-to-subset"></span>
fn to_subset(&self) -> Option<SS><span id="cutoffbasis-supersetof-is-in-subset"></span>
fn is_in_subset(&self) -> bool<span id="cutoffbasis-supersetof-to-subset-unchecked"></span>
fn to_subset_unchecked(&self) -> SS<span id="cutoffbasis-supersetof-from-subset"></span>
fn from_subset(element: &SS) -> SP
impl<V> VZip for CutOffBasis
- <span id="cutoffbasis-vzip"></span>
fn vzip(self) -> V
impl ValueEnum for CutOffBasis
<span id="cutoffbasis-valueenum-value-variants"></span>
fn value_variants<'a>() -> &'a [Self]<span id="cutoffbasis-valueenum-to-possible-value"></span>
fn to_possible_value<'a>(&self) -> ::std::option::Option<clap::builder::PossibleValue>
impl WithSubscriber for CutOffBasis
Backend
enum Backend {
Cpu,
Cuda,
Wgpu,
}Trait Implementations
impl<ST> CastableFrom for Backend
impl Clone for Backend
- <span id="backend-clone"></span>
fn clone(&self) -> Backend—Backend
impl Copy for Backend
impl Debug for Backend
- <span id="backend-debug-fmt"></span>
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result
impl Eq for Backend
impl Instrument for Backend
impl IntoEither for Backend
impl PartialEq for Backend
- <span id="backend-partialeq-eq"></span>
fn eq(&self, other: &Backend) -> bool—Backend
impl Pointable for Backend
<span id="backend-pointable-const-align"></span>
const ALIGN: usize<span id="backend-pointable-type-init"></span>
type Init = T<span id="backend-pointable-init"></span>
unsafe fn init(init: <T as Pointable>::Init) -> usize<span id="backend-pointable-deref"></span>
unsafe fn deref<'a>(ptr: usize) -> &'a T<span id="backend-pointable-deref-mut"></span>
unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T<span id="backend-pointable-drop"></span>
unsafe fn drop(ptr: usize)
impl Read for Backend
impl Same for Backend
- <span id="backend-same-type-output"></span>
type Output = T
impl Scalar for Backend
impl StructuralPartialEq for Backend
impl<SS> SupersetOf for Backend
<span id="backend-supersetof-to-subset"></span>
fn to_subset(&self) -> Option<SS><span id="backend-supersetof-is-in-subset"></span>
fn is_in_subset(&self) -> bool<span id="backend-supersetof-to-subset-unchecked"></span>
fn to_subset_unchecked(&self) -> SS<span id="backend-supersetof-from-subset"></span>
fn from_subset(element: &SS) -> SP
impl<V> VZip for Backend
- <span id="backend-vzip"></span>
fn vzip(self) -> V
impl ValueEnum for Backend
<span id="backend-valueenum-value-variants"></span>
fn value_variants<'a>() -> &'a [Self]<span id="backend-valueenum-to-possible-value"></span>
fn to_possible_value<'a>(&self) -> ::std::option::Option<clap::builder::PossibleValue>
impl WithSubscriber for Backend
OutputFormat
enum OutputFormat {
Xml,
Ftc,
}Trait Implementations
impl<ST> CastableFrom for OutputFormat
impl Clone for OutputFormat
- <span id="outputformat-clone"></span>
fn clone(&self) -> OutputFormat—OutputFormat
impl Copy for OutputFormat
impl Debug for OutputFormat
- <span id="outputformat-debug-fmt"></span>
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result
impl Eq for OutputFormat
impl Instrument for OutputFormat
impl IntoEither for OutputFormat
impl PartialEq for OutputFormat
- <span id="outputformat-partialeq-eq"></span>
fn eq(&self, other: &OutputFormat) -> bool—OutputFormat
impl Pointable for OutputFormat
<span id="outputformat-pointable-const-align"></span>
const ALIGN: usize<span id="outputformat-pointable-type-init"></span>
type Init = T<span id="outputformat-pointable-init"></span>
unsafe fn init(init: <T as Pointable>::Init) -> usize<span id="outputformat-pointable-deref"></span>
unsafe fn deref<'a>(ptr: usize) -> &'a T<span id="outputformat-pointable-deref-mut"></span>
unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T<span id="outputformat-pointable-drop"></span>
unsafe fn drop(ptr: usize)
impl Read for OutputFormat
impl Same for OutputFormat
- <span id="outputformat-same-type-output"></span>
type Output = T
impl Scalar for OutputFormat
impl StructuralPartialEq for OutputFormat
impl<SS> SupersetOf for OutputFormat
<span id="outputformat-supersetof-to-subset"></span>
fn to_subset(&self) -> Option<SS><span id="outputformat-supersetof-is-in-subset"></span>
fn is_in_subset(&self) -> bool<span id="outputformat-supersetof-to-subset-unchecked"></span>
fn to_subset_unchecked(&self) -> SS<span id="outputformat-supersetof-from-subset"></span>
fn from_subset(element: &SS) -> SP
impl<V> VZip for OutputFormat
- <span id="outputformat-vzip"></span>
fn vzip(self) -> V
impl ValueEnum for OutputFormat
<span id="outputformat-valueenum-value-variants"></span>
fn value_variants<'a>() -> &'a [Self]<span id="outputformat-valueenum-to-possible-value"></span>
fn to_possible_value<'a>(&self) -> ::std::option::Option<clap::builder::PossibleValue>
