Class Clade
java.lang.Object
org.episteme.natural.biology.evolution.Clade
- All Implemented Interfaces:
Serializable, Commented, ComprehensiveIdentification, Identified<Identification>, Named
Represents a clade in a phylogenetic tree.
A clade is a group of organisms that consists of a common ancestor and all its lineal descendants. In a phylogenetic tree, it corresponds to a node and the subtree rooted at that node.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetId()Returns the unique identifier of this entity.getName()Returns the traits map for this entity.booleanisLeaf()voidsetBranchLength(Double branchLength) voidSets the name of this entity.voidsetSpecies(Species species) toString()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Commented
getComments, getTrait, setCommentsMethods inherited from interface ComprehensiveIdentification
getTrait, setTrait
-
Constructor Details
-
Clade
-
-
Method Details
-
getId
Description copied from interface:IdentifiedReturns the unique identifier of this entity.- Specified by:
getIdin interfaceIdentified<Identification>- Returns:
- the identifier
-
getTraits
Description copied from interface:ComprehensiveIdentificationReturns the traits map for this entity.- Specified by:
getTraitsin interfaceCommented- Specified by:
getTraitsin interfaceComprehensiveIdentification- Returns:
- the traits map
-
getName
- Specified by:
getNamein interfaceComprehensiveIdentification- Specified by:
getNamein interfaceNamed
-
setName
Description copied from interface:ComprehensiveIdentificationSets the name of this entity.- Specified by:
setNamein interfaceComprehensiveIdentification- Parameters:
name- the name to set
-
getBranchLength
-
setBranchLength
-
getSpecies
-
setSpecies
-
addChild
-
getChildren
-
isLeaf
public boolean isLeaf() -
toString
-