|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.forester.development.DevelopmentTools
public final class DevelopmentTools
Method Summary | |
---|---|
static Phylogeny |
createBalancedPhylogeny(int levels,
int children_per_node)
Creates a completely balanced rooted phylogeny with a given number of levels and children per node. |
static void |
intervalNumberSpecies(Phylogeny t,
int i)
Sets the species name of the external Nodes of Phylogeny t to 1, 1+i, 2, 2+i, 3, 3+i, .... |
static void |
numberSpeciesInDescOrder(Phylogeny t)
Sets the species namea of the external Nodes of Phylogeny t to descending integers, ending with 1. |
static void |
numberSpeciesInOrder(Phylogeny t)
Sets the species namea of the external Nodes of Phylogeny t to ascending integers, starting with 1. |
static void |
randomizeSpecies(int min,
int max,
Phylogeny t)
Sets the species names of the external Nodes of Phylogeny t to a random positive integer number between (and including) min and max. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Phylogeny createBalancedPhylogeny(int levels, int children_per_node)
levels
- children_per_node
-
public static void intervalNumberSpecies(Phylogeny t, int i)
public static void numberSpeciesInDescOrder(Phylogeny t)
public static void numberSpeciesInOrder(Phylogeny t)
public static void randomizeSpecies(int min, int max, Phylogeny t)
t
- whose external species names are to be randomizedmin
- minimal value for random numbersmax
- maximum value for random numbers
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |