pub struct ShortestPathStrategy { /* private fields */ }Implementations§
Source§impl ShortestPathStrategy
impl ShortestPathStrategy
pub fn compute_for(program: &Program) -> Result<Self>
pub fn write_cfg_with_distances_to_file<P>(&self, path: P) -> Result<()>
pub fn distances(&self) -> &HashMap<NodeIndex, u64>
pub fn create_cfg_with_distances( &self, ) -> Graph<(Instruction, Option<u64>), Option<ProcedureCallId>>
Trait Implementations§
Source§impl Debug for ShortestPathStrategy
impl Debug for ShortestPathStrategy
Source§impl Display for ShortestPathStrategy
impl Display for ShortestPathStrategy
Auto Trait Implementations§
impl Freeze for ShortestPathStrategy
impl RefUnwindSafe for ShortestPathStrategy
impl Send for ShortestPathStrategy
impl Sync for ShortestPathStrategy
impl Unpin for ShortestPathStrategy
impl UnwindSafe for ShortestPathStrategy
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