package phylogenetics

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Phylogenetics.ZipperSource

Zipper type for fast operations on large phylogenetic trees.

Types
Sourcetype t
Sourcetype branch = float * Phylogenetic_tree.t
Sourcetype direction =
  1. | Dir0
  2. | Dir1
  3. | Dir2
Sourcetype location_type =
  1. | LocLeaf
  2. | LocBranch
  3. | LocNode
Sourcetype oriented_zipper
Creation / conversion
Sourceval of_tree : Phylogenetic_tree.t -> t
Sourceval to_tree : t -> Phylogenetic_tree.t
Sourceval orient : t -> direction -> oriented_zipper
Sourceval unorient : oriented_zipper -> t
Constructors / object manipulation
Sourceval string_of_dir : direction -> string
Sourceval dir_of_string : string -> direction
Observation
Sourceval equal : t -> t -> bool
Sourceval get_branch : t -> direction -> branch
Sourceval get_index : t -> Sigs.index
Sourceval get_length : t -> direction -> float
Sourceval length_left : oriented_zipper -> float
Sourceval length_right : oriented_zipper -> float
Sourceval location : t -> location_type
Movement
Sourceval goto : t -> int -> t
Sourceval init_routing : t -> t
Sourceval move : t -> direction -> t
Sourceval random_node : t -> t
Sourceval slide : t -> direction -> float -> t
Pretty printing
Sourceval pp : Format.formatter -> t -> unit
Sourceval pp_fancy : Format.formatter -> t -> unit
Sourceval print : t -> unit
Sourceval print_fancy : t -> unit