|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorigincomment.ArbrePalindrome
public class ArbrePalindrome
Palindrome tree of execution in algorithm.
NoeudPalindrome
,
ADN1cible.tableauPalindrome
,
ADN1cible.initialiser()
,
ADN1cible.load_File(java.io.BufferedReader)
Field Summary | |
---|---|
private NoeudPalindrome |
courant
Current node (default is null). |
private java.util.Vector |
structures
Structures (default is instanciate as a new Vector). |
Constructor Summary | |
---|---|
ArbrePalindrome()
Default constructor with a new current node. |
|
ArbrePalindrome(NoeudPalindrome n)
Constrcutor with a given node. |
Method Summary | |
---|---|
void |
actualiser()
To set the structureS to be "in good mood". |
void |
ajouteStructures(Palindrome1cible[] tab)
To add new StructureS. |
void |
changeCourant(NoeudPalindrome n)
To set a new current node. |
void |
changeStructures(java.util.Vector v)
To set new structureS. |
void |
descendre(int i)
To get down in the tree : change current node to a choosen son of current node. |
java.util.Vector |
les_feuilles()
Leaves of the root node. |
private static void |
les_feuilles(java.util.Vector feuilles,
NoeudPalindrome n)
Leaves of the given node are put in the Vector. |
java.util.Vector |
quellesStructures()
To get the current structures. |
Palindrome1cible[] |
quelleStructure(int i)
To get a specific structure in structureS. |
NoeudPalindrome |
quelNoeudCourant()
To get current node of execution of the algorithm. |
Palindrome1cible |
quelPalindrome(int pos_struct,
int pos_pal)
To get a specific palindrome in a psecific structure. |
private static void |
recuperation(java.util.Vector resultat,
Palindrome1cible[] tabPal,
NoeudPalindrome n)
"Recuperation" |
void |
remonter()
To get up in the tree : change current node to the father of current node. |
private java.util.Vector |
tous_les_palindromes()
"All Palindromes" |
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 NoeudPalindrome courant
private java.util.Vector structures
Constructor Detail |
---|
public ArbrePalindrome()
ADN1cible.initialiser()
,
ADN1cible.load_File(java.io.BufferedReader)
public ArbrePalindrome(NoeudPalindrome n)
n
- (NoeudPalindrome)ADN1cible.change_palindromes(Palindrome1cible[])
Method Detail |
---|
public NoeudPalindrome quelNoeudCourant()
ADN1cible.calcul_Resultat(ADN1test[], int, boolean, boolean)
,
ADN1cible.load_File(java.io.BufferedReader)
,
ADN1cible.recherche_Palindrome(ADN1cible, int, int, int, ADN1test[], int, int, boolean, int)
public java.util.Vector quellesStructures()
structures
,
ADN1cible.les_structures()
public Palindrome1cible[] quelleStructure(int i)
i
- (int) position
public Palindrome1cible quelPalindrome(int pos_struct, int pos_pal)
pos_struct
- (int) position of the structurepos_pal
- (int) position of the palindrome
ADN1cible.le_palindrome(int, int)
,
ADN1cible.to_File(String)
public void changeCourant(NoeudPalindrome n)
n
- (NoeudPalindrome)public void changeStructures(java.util.Vector v)
v
- (Vector)public void ajouteStructures(Palindrome1cible[] tab)
tab
- (Palindrome1cible[])public void remonter()
ADN1cible.recherche_Palindrome(ADN1cible, int, int, int, ADN1test[], int, int, boolean, int)
public void descendre(int i)
i
- (int)ADN1cible.recherche_Palindrome(ADN1cible, int, int, int, ADN1test[], int, int, boolean, int)
public void trier_structures()
ADN1cible.calcul_Resultat(ADN1test[], int, boolean, boolean)
,
ADN1cible.load_File(java.io.BufferedReader)
,
ADN1cible.resultat_commun(Vector)
public void actualiser()
tous_les_palindromes()
,
trier_structures()
,
ADN1cible.calcul_Resultat(ADN1test[], int, boolean, boolean)
,
ADN1cible.recherche_Pseudonoeud(Base[], ADN1test[], boolean, int, int)
private java.util.Vector tous_les_palindromes()
actualiser()
,
recuperation(Vector, Palindrome1cible[], NoeudPalindrome)
private static void recuperation(java.util.Vector resultat, Palindrome1cible[] tabPal, NoeudPalindrome n)
resultat
- (Vector)tabPal
- (Palindrome1cible[]n
- (NoeudPalindrome)tous_les_palindromes()
,
Palindrome1cible.fusion_Palindrome(Palindrome1cible[], Palindrome1cible[])
public java.util.Vector les_feuilles()
ADN1cible.calcul_Resultat(ADN1test[], int, boolean, boolean)
private static void les_feuilles(java.util.Vector feuilles, NoeudPalindrome n)
feuilles
- (Vector) Vector of NoeudPalindrome'sn
- (NoeudPalindrome) root of the treeles_feuilles()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |