Struct light_phylogeny::Noeud [−][src]
pub struct Noeud<T> where
T: PartialEq, {}Show fields
pub idx: usize, pub name: String, pub support: String, pub parent: Option<usize>, pub children: Vec<usize>, pub x: f32, pub xmod: f32, pub y: f32, pub ymod: f32, pub l: f32, pub e: Event, pub location: String, pub width: f32, pub height: f32, pub nbg: usize, pub nodes: Vec<(usize, usize)>, pub is_a_transfert: bool, pub go_left: usize, pub go_right: usize, pub fixed: bool, pub transfers: Vec<usize>, pub visible: bool, // some fields omitted
Expand description
Structure Noeud.
Fields
idx: usize
index in the Arena structure
name: String
name of the node
support: String
support of the node
parent: Option<usize>
parent if the node
children: Vec<usize>
children of the node
x: f32
x coordinate
xmod: f32
x shift
y: f32
y coordinate
ymod: f32
y shift
l: f32
real branch length
e: Event
event (duplication, speciation, loss, transfer …)
location: String
location of the gene tree node in the species tree (recPhyloXML)
width: f32
pipe width (recPhyloXML)
height: f32
pipe height (recPhyloXML)
nbg: usize
number of gene nodes associated to the species node (recPhyloXML)
nodes: Vec<(usize, usize)>
number of gene nodes associated to the species node (recPhyloXML)
is_a_transfert: bool
the node come from a transfer (it is a transferBack and its parent is a BranchingOut)
go_left: usize
optimisation: number of left-side orientation minimising transfer crossings (recPhyloXML)
go_right: usize
optimisation: number of right-side orientation minimising transfer crossings (recPhyloXML)
fixed: bool
optimisation: node is fixed, left/side orientation of children can not be modified (recPhyloXML)
transfers: Vec<usize>
optimisation: indexes of transfers associated to the node (recPhyloXML)
visible: bool
will be displayed
Implementations
impl<T> Noeud<T> where
T: PartialEq,
[src]
impl<T> Noeud<T> where
T: PartialEq,
[src]pub fn new(idx: usize, val: T) -> Self
[src]
pub fn set_x_noref(&mut self, x: f32)
[src]
pub fn set_x_noref(&mut self, x: f32)
[src]Set node x
pub fn set_xmod_noref(&mut self, xmod: f32)
[src]
pub fn set_xmod_noref(&mut self, xmod: f32)
[src]Set node xmod
pub fn set_ymod_noref(&mut self, ymod: f32)
[src]
pub fn set_ymod_noref(&mut self, ymod: f32)
[src]Set node ymod
pub fn set_y_noref(&mut self, y: f32)
[src]
pub fn set_y_noref(&mut self, y: f32)
[src]Set node y
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for Noeud<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for Noeud<T> where
T: Send,
T: Send,
impl<T> Sync for Noeud<T> where
T: Sync,
T: Sync,
impl<T> Unpin for Noeud<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for Noeud<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,