|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmodele.ArbreExec
public class ArbreExec
To do like an ArbrePalindrome and NoeudPalindrome of Origin, tree of execution of algorithms.
ArbrePalindrome
,
NoeudPalindrome
Field Summary | |
---|---|
private NoeudArbreExec |
current
|
private PalindromeListeListe |
structures
Structures (default is instanciate as a new Vector). |
Constructor Summary | |
---|---|
ArbreExec()
|
Method Summary | |
---|---|
void |
actualiser()
To set the structureS to be "in good mood". |
void |
descendre(int i)
To get down in the tree : change current node to a choosen son of current node. |
NoeudArbreExec |
getCurrentNode()
|
Palindrome |
getPalindrome(int i,
int j)
|
PalindromeListe |
getStructure(int i)
|
PalindromeListeListe |
getStructures()
|
NoeudArbreExecListe |
les_feuilles()
Leaves of the root node. |
private static void |
les_feuilles(NoeudArbreExecListe feuilles,
NoeudArbreExec n)
Leaves of the given node are put in the NoeudArbreExecListe. |
private static void |
recuperation(PalindromeListeListe resultat,
Palindrome[] tabPal,
NoeudArbreExec n)
"Recuperation" This method to keep compatibility with algorithms' implementation of Stefan Engelen and its conversion. |
void |
remonter()
To get up in the tree : change current node to the father of current node. |
void |
setCurrentNode(NoeudArbreExec currentNode)
|
void |
setStructures(PalindromeListeListe structures)
|
private PalindromeListeListe |
tous_les_palindromes()
"All Palindromes" This method to keep compatibility with algorithms' implementation of Stefan Engelen and its conversion. |
void |
trier_structures()
Sorting the structureS. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private PalindromeListeListe structures
private NoeudArbreExec current
Constructor Detail |
---|
public ArbreExec()
Method Detail |
---|
public PalindromeListeListe getStructures()
public PalindromeListe getStructure(int i)
public Palindrome getPalindrome(int i, int j)
public void setStructures(PalindromeListeListe structures)
public NoeudArbreExec getCurrentNode()
public void setCurrentNode(NoeudArbreExec currentNode)
public void actualiser()
tous_les_palindromes()
,
recuperation(PalindromeListeListe, Palindrome[], NoeudArbreExec)
,
AlgorithmsStefan.calcul_Resultat(Sequence, Sequence[], int, boolean, boolean)
,
AlgorithmsStefan.recherche_Pseudonoeud(Sequence, Base[], Sequence[], boolean, int, int)
,
OtherAlgorithmsStefan.calcul_Resultat(Sequence, Sequence[], int, boolean, boolean)
,
OtherAlgorithmsStefan.recherche_Pseudonoeud(Sequence, Base[], Sequence[], boolean, int, int)
private PalindromeListeListe tous_les_palindromes()
actualiser()
,
recuperation(PalindromeListeListe, Palindrome[], NoeudArbreExec)
private static void recuperation(PalindromeListeListe resultat, Palindrome[] tabPal, NoeudArbreExec n)
resultat
- (PalindromeListeListe)tabPal
- (Palindrome1cible[]n
- (NoeudArbreExec)tous_les_palindromes()
,
AlgoStefanConverter.fusion_Palindrome(Palindrome[], Palindrome[])
,
OtherAlgoStefanConverter.fusion_Palindrome(Palindrome[], Palindrome[])
public void trier_structures()
AlgorithmsStefan.calcul_Resultat(Sequence, Sequence[], int, boolean, boolean)
,
AlgorithmsStefan.resultat_commun(PalindromeListeListe)
,
OtherAlgorithmsStefan.calcul_Resultat(Sequence, Sequence[], int, boolean, boolean)
,
OtherAlgorithmsStefan.resultat_commun(PalindromeListeListe)
public NoeudArbreExecListe les_feuilles()
AlgorithmsStefan.calcul_Resultat(Sequence, Sequence[], int, boolean, boolean)
,
OtherAlgorithmsStefan.calcul_Resultat(Sequence, Sequence[], int, boolean, boolean)
private static void les_feuilles(NoeudArbreExecListe feuilles, NoeudArbreExec n)
feuilles
- (Vector) Vector of NoeudPalindrome'sn
- (NoeudPalindrome) root of the treeles_feuilles()
public void remonter()
AlgorithmsStefan.recherche_Palindrome(Sequence, int, int, int, Sequence[], int, int, boolean, int)
,
OtherAlgorithmsStefan.recherche_Palindrome(Sequence, int, int, int, Sequence[], int, int, boolean, int)
public void descendre(int i)
i
- (int)AlgorithmsStefan.recherche_Palindrome(Sequence, int, int, int, Sequence[], int, int, boolean, int)
,
OtherAlgorithmsStefan.recherche_Palindrome(Sequence, int, int, int, Sequence[], int, int, boolean, int)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |