PathOptimizer

Trait PathOptimizer 

Source
pub trait PathOptimizer {
    // Required method
    fn optimize_path(
        &mut self,
        inputs: &[&ArrayIndexType],
        output: &ArrayIndexType,
        size_dict: &SizeDictType,
        memory_limit: Option<SizeType>,
    ) -> Result<PathType, String>;
}

Required Methods§

Source

fn optimize_path( &mut self, inputs: &[&ArrayIndexType], output: &ArrayIndexType, size_dict: &SizeDictType, memory_limit: Option<SizeType>, ) -> Result<PathType, String>

Implementations on Foreign Types§

Source§

impl PathOptimizer for &str

Source§

fn optimize_path( &mut self, inputs: &[&ArrayIndexType], output: &ArrayIndexType, size_dict: &SizeDictType, memory_limit: Option<SizeType>, ) -> Result<PathType, String>

Source§

impl PathOptimizer for &[&[usize]]

Source§

fn optimize_path( &mut self, inputs: &[&ArrayIndexType], output: &ArrayIndexType, size_dict: &SizeDictType, memory_limit: Option<SizeType>, ) -> Result<PathType, String>

Source§

impl PathOptimizer for &[(usize, usize)]

Source§

fn optimize_path( &mut self, inputs: &[&ArrayIndexType], output: &ArrayIndexType, size_dict: &SizeDictType, memory_limit: Option<SizeType>, ) -> Result<PathType, String>

Source§

impl PathOptimizer for &[Vec<usize>]

Source§

fn optimize_path( &mut self, inputs: &[&ArrayIndexType], output: &ArrayIndexType, size_dict: &SizeDictType, memory_limit: Option<SizeType>, ) -> Result<PathType, String>

Source§

impl PathOptimizer for &[[usize; 2]]

Source§

fn optimize_path( &mut self, inputs: &[&ArrayIndexType], output: &ArrayIndexType, size_dict: &SizeDictType, memory_limit: Option<SizeType>, ) -> Result<PathType, String>

Source§

impl PathOptimizer for bool

Source§

fn optimize_path( &mut self, inputs: &[&ArrayIndexType], output: &ArrayIndexType, size_dict: &SizeDictType, memory_limit: Option<SizeType>, ) -> Result<PathType, String>

Source§

impl PathOptimizer for Vec<(usize, usize)>

Source§

fn optimize_path( &mut self, inputs: &[&ArrayIndexType], output: &ArrayIndexType, size_dict: &SizeDictType, memory_limit: Option<SizeType>, ) -> Result<PathType, String>

Source§

impl PathOptimizer for Vec<[usize; 2]>

Source§

fn optimize_path( &mut self, inputs: &[&ArrayIndexType], output: &ArrayIndexType, size_dict: &SizeDictType, memory_limit: Option<SizeType>, ) -> Result<PathType, String>

Source§

impl<const N: usize> PathOptimizer for [(usize, usize); N]

Source§

fn optimize_path( &mut self, inputs: &[&ArrayIndexType], output: &ArrayIndexType, size_dict: &SizeDictType, memory_limit: Option<SizeType>, ) -> Result<PathType, String>

Source§

impl<const N: usize> PathOptimizer for [Vec<usize>; N]

Source§

fn optimize_path( &mut self, inputs: &[&ArrayIndexType], output: &ArrayIndexType, size_dict: &SizeDictType, memory_limit: Option<SizeType>, ) -> Result<PathType, String>

Source§

impl<const N: usize> PathOptimizer for [[usize; 2]; N]

Source§

fn optimize_path( &mut self, inputs: &[&ArrayIndexType], output: &ArrayIndexType, size_dict: &SizeDictType, memory_limit: Option<SizeType>, ) -> Result<PathType, String>

Implementors§