1 #ifndef GENESIS_PLACEMENT_PLACEMENT_TREE_H_ 2 #define GENESIS_PLACEMENT_PLACEMENT_TREE_H_ 111 static std::unique_ptr< PlacementNodeData >
create()
116 virtual std::unique_ptr< BaseNodeData >
recreate()
const override 121 virtual std::unique_ptr< BaseNodeData >
clone()
const override 172 static std::unique_ptr< PlacementEdgeData >
create()
177 virtual std::unique_ptr< BaseEdgeData >
recreate()
const override 182 virtual std::unique_ptr< BaseEdgeData >
clone()
const override 222 #endif // include guard Data class for PlacementTreeEdges. Stores the branch length of the edge, and the edge_num, as defined in the jplace standard.
virtual ~PlacementNodeData() override=default
void reset_edge_num(EdgeNumType val)
Force to set the edge_num to a certain value.
Container namespace for all symbols of genesis in order to keep them separate when used as a library...
int EdgeNumType
Data type used for the edge_num() property of the edges in a PlacementTree.
tree::Tree PlacementTree
Alias for a tree::Tree used for a tree with information needed for storing Pqueries. This kind of tree is used by Sample.
virtual std::unique_ptr< BaseNodeData > recreate() const override
Polymorphically create a default-constructed instance of this class with the same derived type as it ...
virtual std::unique_ptr< BaseEdgeData > recreate() const override
Polymorphically create a default-constructed instance of this class with the same derived type as it ...
virtual std::unique_ptr< BaseEdgeData > clone() const override
Polymorphically copy an instance of this class. Use instead of copy constructor.
static std::unique_ptr< PlacementEdgeData > create()
virtual std::unique_ptr< BaseNodeData > clone() const override
Polymorphically copy an instance of this class. Use instead of copy constructor.
Data class for PlacementTreeNodes. Stores a node name.
Common class containing the commonly needed data for tree nodes.
static std::unique_ptr< PlacementNodeData > create()
PlacementNodeData & operator=(PlacementNodeData &&)=delete
EdgeNumType edge_num() const
Return the edge_num of this edge. This value is defined by the jplace standard.
Common class containing the commonly needed data for tree edges.
PlacementNodeData()=default