diff --git a/doc/allclasses-frame.html b/doc/allclasses-frame.html deleted file mode 100644 index f13f0a3..0000000 --- a/doc/allclasses-frame.html +++ /dev/null @@ -1,67 +0,0 @@ - - - -
- - -public static enum Arbol.PrimerLado -extends java.lang.Enum<Arbol.PrimerLado>-
Enum Constant and Description | -
---|
DERECHA |
-
IZQUERDA |
-
Modifier and Type | -Method and Description | -
---|---|
static Arbol.PrimerLado |
-valueOf(java.lang.String name)
-Returns the enum constant of this type with the specified name.
- |
-
static Arbol.PrimerLado[] |
-values()
-Returns an array containing the constants of this enum type, in
-the order they are declared.
- |
-
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getClass, notify, notifyAll, wait, wait, wait
public static final Arbol.PrimerLado IZQUERDA-
public static final Arbol.PrimerLado DERECHA-
public static Arbol.PrimerLado[] values()-
-for (Arbol.PrimerLado c : Arbol.PrimerLado.values()) - System.out.println(c); -
public static Arbol.PrimerLado valueOf(java.lang.String name)-
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static final class Arbol.Tipos
-extends java.lang.Object
-Modifier and Type | -Field and Description | -
---|---|
static int |
-AVL
-Tipo AVL.
- |
-
static int |
-B_TREE
-Tipo B-Tree.
- |
-
static int |
-BINARIO
-Tipo binario.
- |
-
static int |
-BUSQUEDA_BINARIA
-Tipo busqueda binaria.
- |
-
static int |
-GENERAL
-Tipo general.
- |
-
static int |
-ROJO_NEGRO
-Tipo rojo-negro.
- |
-
private int |
-tipo
-El tipo elegido.
- |
-
Constructor and Description | -
---|
Tipos(int tipo)
-Inicilizar el tipo de arbol.
- |
-
Modifier and Type | -Method and Description | -
---|---|
int |
-getTipo()
-Devolver el tipo de arbol.
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final int GENERAL-
public static final int BINARIO-
public static final int BUSQUEDA_BINARIA-
public static final int AVL-
public static final int ROJO_NEGRO-
public static final int B_TREE-
private final int tipo-
public class Arbol
-extends java.lang.Object
-Modifier and Type | -Class and Description | -
---|---|
static class |
-Arbol.Tipos
-Esta clase contiene los arbolTipo de arboles.
- |
-
Modifier and Type | -Field and Description | -
---|---|
private int |
-altura
-La altura del arbol.
- |
-
private ArbolNodo |
-arbol
-El arbol.
- |
-
private java.util.List<java.util.List<ArbolNodo>> |
-niveles
-Los nivles del arbol con todos sus nodos.
- |
-
private java.util.List<ArbolNodo> |
-order
-El orden que ha sido usado.
- |
-
private int |
-size
-La cantidad de nodos que están en el arbol.
- |
-
Constructor and Description | -
---|
Arbol()
-Inicilizar el arbol.
- |
-
Modifier and Type | -Method and Description | -
---|---|
int |
-calcularAltura(ArbolNodo nodo)
-Encontrar y devolver la altura del arbol usando recursividad.
- |
-
void |
-calcularNiveles(ArbolNodo nodo,
- int nivel)
-Calcular los nivles del arbol usando recursividad.
- |
-
boolean |
-eliminar(int valor)
-Eliminar un valor del arbol.
- |
-
int |
-getAltura()
-Devolver la altura del arbol.
- |
-
ArbolNodo |
-getArbol()
-Devolver el arbol.
- |
-
java.util.List<java.util.List<ArbolNodo>> |
-getNiveles()
-Devolver la lista de nivles del arbol.
- |
-
java.util.List<ArbolNodo> |
-inOrder()
-Ordenar el arbol usando inOrder.
- |
-
void |
-inOrder(ArbolNodo nodo)
-El meteodo recursivo de inOrder que acumulará los nodos en una lista.
- |
-
boolean |
-insertar(int valor)
-Insertar un valor al arbol.
- |
-
java.util.List<ArbolNodo> |
-postOrder()
-Ordenar el arbol usando postOrder.
- |
-
void |
-postOrder(ArbolNodo nodo)
-El meteodo recursivo de postOrder que acumulará los nodos en una lista.
- |
-
java.util.List<ArbolNodo> |
-preOrder()
-Ordenar el arbol usando preOrder.
- |
-
void |
-preOrder(ArbolNodo nodo)
-El meteodo recursivo de preOrder que acumulará los nodos en una lista.
- |
-
boolean |
-rotarDerecha(int valor)
-Rotar el arbol usando el hijo a la izquerda como un pivot.
- |
-
boolean |
-rotarIzquerda(int valor)
-Rotar el arbol usando el hijo a la derecha como un pivot.
- |
-
private void |
-setAltura(int altura)
-Cambiar la altura del arbol.
- |
-
int |
-size()
-Devolver la cantidad de nodos que están en el arbol.
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private ArbolNodo arbol-
private int size-
private int altura-
private java.util.List<java.util.List<ArbolNodo>> niveles-
private java.util.List<ArbolNodo> order-
public boolean insertar(int valor)-
valor
- int: El valor a insertar.public boolean eliminar(int valor)-
valor
- int: El valor a elminiar.public boolean rotarIzquerda(int valor)-
valor
- int: El valor a rotar.public boolean rotarDerecha(int valor)-
valor
- int: El valor a rotar.public java.util.List<ArbolNodo> preOrder()-
public java.util.List<ArbolNodo> inOrder()-
public java.util.List<ArbolNodo> postOrder()-
public void preOrder(ArbolNodo nodo)-
nodo
- ArbolNodo: El nodo a trabajar.public void inOrder(ArbolNodo nodo)-
nodo
- ArbolNodo: El nodo a trabajar.public void postOrder(ArbolNodo nodo)-
nodo
- ArbolNodo: El nodo a trabajar.public ArbolNodo getArbol()-
public int size()-
public int getAltura()-
private void setAltura(int altura)-
altura
- int: La altura nueva.public java.util.List<java.util.List<ArbolNodo>> getNiveles()-
public int calcularAltura(ArbolNodo nodo)-
nodo
- ArbolNodo: El nodo a trabajar.public void calcularNiveles(ArbolNodo nodo, - int nivel)-
nodo
- ArbolNodo: El nodo a trabajar.nivel
- int: El Nivel donde está el nodo.public class ArbolController
-extends java.lang.Object
-implements javafx.fxml.Initializable
-Modifier and Type | -Field and Description | -
---|---|
private Arbol |
-arbol
-El arbol usado en la aplicación.
- |
-
(package private) Arbol.Tipos |
-arbolTipo
-El tipo de arbol actual.
- |
-
private javafx.scene.text.Text |
-codigoArbol
-Donde va el codigo a mostrar a la pantalla.
- |
-
private javafx.scene.layout.GridPane |
-contenidoArbol
-Donde poner el contenido de array.
- |
-
private javafx.scene.layout.HBox |
-contenidoOrder
-El contendido del orden.
- |
-
private java.util.ResourceBundle |
-resourceBundle
-Donde está guardado los idiomas.
- |
-
private javafx.scene.Scene |
-scene
-La escena donde está cosas graficas.
- |
-
private TextFieldLimited |
-valorArbol
-La caja para ingresar textos.
- |
-
private TextFieldLimited |
-valorRotar
-El nodo a rotar.
- |
-
Constructor and Description | -
---|
ArbolController() |
-
Modifier and Type | -Method and Description | -
---|---|
protected void |
-botonEliminar()
-Eliminar un valor del arbol y mostrar el codigo en la pantalla.
- |
-
protected void |
-botonInOrder()
-Mostrar los elementos en orden de in order.
- |
-
protected void |
-botonInsertar()
-Insertar un valor al array y mostrar el codigo en la pantalla.
- |
-
protected void |
-botonLlenar()
-Llenar un arbol al azar.
- |
-
protected void |
-botonPostOrder()
-Mostrar los elementos en orden de post order.
- |
-
protected void |
-botonPreOrder()
-Mostrar los elementos en orden de pre order.
- |
-
protected void |
-botonRotarDerecha()
-Rotar el nodo a la izquerda.
- |
-
protected void |
-botonRotarIzquerda()
-Rotar el nodo a la izquerda.
- |
-
protected void |
-botonVaciar()
-Vaciar el arbol de todos los valores.
- |
-
private void |
-generarGrafico()
-Este metodo generará el grafico de arbol en la ventana.
- |
-
private java.lang.String |
-getTipoString()
-Devolver el tipo de arbol en un string.
- |
-
void |
-initialize(java.net.URL location,
- java.util.ResourceBundle resourceBundle)
-Inicializar todos los datos y dibujar las graficas.
- |
-
private void |
-initializeArbol()
-Crear un arbol nuevo.
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private TextFieldLimited valorArbol-
private TextFieldLimited valorRotar-
private javafx.scene.layout.GridPane contenidoArbol-
private javafx.scene.layout.HBox contenidoOrder-
private javafx.scene.text.Text codigoArbol-
private javafx.scene.Scene scene-
private java.util.ResourceBundle resourceBundle-
private Arbol arbol-
Arbol.Tipos arbolTipo-
public void initialize(java.net.URL location, - java.util.ResourceBundle resourceBundle)-
initialize
in interface javafx.fxml.Initializable
location
- URL: El URL de fxml en uso.resourceBundle
- ResourceBundle: Tiene datos de idioma.protected void botonLlenar()-
protected void botonVaciar()-
protected void botonInsertar()-
protected void botonEliminar()-
protected void botonRotarIzquerda()-
protected void botonRotarDerecha()-
protected void botonPreOrder()-
protected void botonInOrder()-
protected void botonPostOrder()-
private void initializeArbol()-
private java.lang.String getTipoString()-
private void generarGrafico()-
public static enum ArbolNodo.Desde -extends java.lang.Enum<ArbolNodo.Desde>-
Enum Constant and Description | -
---|
DERECHA |
-
IQUERDA |
-
RAIZ |
-
Modifier and Type | -Method and Description | -
---|---|
static ArbolNodo.Desde |
-valueOf(java.lang.String name)
-Returns the enum constant of this type with the specified name.
- |
-
static ArbolNodo.Desde[] |
-values()
-Returns an array containing the constants of this enum type, in
-the order they are declared.
- |
-
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getClass, notify, notifyAll, wait, wait, wait
public static final ArbolNodo.Desde RAIZ-
public static final ArbolNodo.Desde IQUERDA-
public static final ArbolNodo.Desde DERECHA-
public static ArbolNodo.Desde[] values()-
-for (ArbolNodo.Desde c : ArbolNodo.Desde.values()) - System.out.println(c); -
public static ArbolNodo.Desde valueOf(java.lang.String name)-
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final class ArbolNodo
-extends java.lang.Object
-Modifier and Type | -Field and Description | -
---|---|
private ArbolNodo |
-derecha
-El hijo a la derecha.
- |
-
private ArbolNodo |
-izquerda
-El hijo a la izquerda.
- |
-
private ArbolNodo |
-padre
-El padre del nodo.
- |
-
private int |
-valor
-El valor del nodo.
- |
-
private int |
-x
-La posición del nodo en el plano carteseano.
- |
-
Constructor and Description | -
---|
ArbolNodo(int valor)
-Incilizar.
- |
-
Modifier and Type | -Method and Description | -
---|---|
ArbolNodo |
-getDerecha()
-Devolver el hijo derecho.
- |
-
ArbolNodo |
-getIzquerda()
-Devolver el hijo izquerdo.
- |
-
ArbolNodo |
-getPadre()
-Devolver el padre.
- |
-
int |
-getValor()
-Devolver el valor del nodo.
- |
-
int |
-getX()
-Devolver la coordinada X del nodo.
- |
-
void |
-setDerecha(ArbolNodo derecha)
-Cambiar el hijo derecho.
- |
-
void |
-setIzquerda(ArbolNodo izquerda)
-Devolver el hijo izquerdo.
- |
-
void |
-setPadre(ArbolNodo padre)
-Cambiar padre.
- |
-
void |
-setX(int x)
-Cambiar la coordinada x del nodo.
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private ArbolNodo padre-
private ArbolNodo izquerda-
private ArbolNodo derecha-
private int valor-
private int x-
public ArbolNodo(int valor)-
valor
- int: El valor del nodo.public ArbolNodo getPadre()-
public void setPadre(ArbolNodo padre)-
padre
- ArbolNodo: El padre nuevo.public ArbolNodo getIzquerda()-
public void setIzquerda(ArbolNodo izquerda)-
izquerda
- ArbolNodo: El hijo nuevo.public ArbolNodo getDerecha()-
public void setDerecha(ArbolNodo derecha)-
derecha
- ArbolNodo: El hijo neuvo.public int getValor()-
public int getX()-
public void setX(int x)-
x
- int: La nueva coordinada x.public final class Array.ParticionarResult
-extends java.lang.Object
-Modifier and Type | -Field and Description | -
---|---|
private boolean |
-cambio
-Si habia algun cambio.
- |
-
private int |
-punteroIzquerda
-La parte izquerda que cambió.
- |
-
Constructor and Description | -
---|
ParticionarResult(boolean cambio,
- int punteroIzquerda)
-Inicializar.
- |
-
Modifier and Type | -Method and Description | -
---|---|
boolean |
-getCambio()
-Devolver el cambio.
- |
-
int |
-getPunteroIzquerda()
-Devolver el puntero izquerda.
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private final boolean cambio-
private final int punteroIzquerda-
public static final class Array.Tipos
-extends java.lang.Object
-Modifier and Type | -Field and Description | -
---|---|
static int |
-ORDENADO
-Tipo de array ordenado.
- |
-
static int |
-SIMPLE
-Tipo de array simple.
- |
-
private int |
-tipo
-El tipo que está elegido.
- |
-
Constructor and Description | -
---|
Tipos(int tipo)
-Inicilizar el tipo.
- |
-
Modifier and Type | -Method and Description | -
---|---|
int |
-getTipo()
-Devolver el tipo.
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final int SIMPLE-
public static final int ORDENADO-
private final int tipo-
public final class Array
-extends java.lang.Object
-Modifier and Type | -Class and Description | -
---|---|
class |
-Array.ParticionarResult
-Esta clase contiene los resultados de Partricionar.
- |
-
static class |
-Array.Tipos
-Esta clase contiene los arbolTipo de array.
- |
-
Modifier and Type | -Field and Description | -
---|---|
private java.lang.String[] |
-array
-El array.
- |
-
private boolean |
-ordered
-Si es de tipo ordenado o simple.
- |
-
private int |
-size
-La cantidad de elementos en el array.
- |
-
Constructor and Description | -
---|
Array(int tamano)
-Crear el array con el tamaño pasador por argumento.
- |
-
Modifier and Type | -Method and Description | -
---|---|
boolean |
-burbuja(boolean paso)
-Ordenar el array usando burbuja.
- |
-
int |
-buscar(int valor)
-Buscar si existe un valor dentro el array.
- |
-
boolean |
-eliminar(int valor)
-Eliminar un valor del array si existe.
- |
-
java.lang.String |
-getIndice(int indice)
-Devolver el valor que está guardado en cada indice del array.
- |
-
boolean |
-insercion(boolean paso)
-Ordenar el array usando inserción.
- |
-
boolean |
-insertar(int valor)
-Insertar un valor al array.
- |
-
boolean |
-isOrdered()
-Dovolver si el tipo es ordenado o no.
- |
-
void |
-llenar()
-Llenar el array con valores al azar.
- |
-
boolean |
-merge(boolean paso)
-Ordenar el array usando merge.
- |
-
private boolean |
-merge(java.lang.String[] temp,
- int prevIzquerda,
- int prevMedio,
- int prevDerecha,
- boolean paso)
-Este metodo hace los cambios al array.
- |
-
void |
-nuevo()
-Borrar el array para que sea como nuevo.
- |
-
private Array.ParticionarResult |
-particionar(int izquerda,
- int derecha,
- java.lang.String pivot)
-Particionar el array desded la izquerda y derecho usando un pivot.
- |
-
boolean |
-quick(boolean paso)
-Ordenar el array usando quick.
- |
-
private boolean |
-recurenciaMerge(java.lang.String[] temp,
- int izquerda,
- int derecha,
- boolean paso)
-El metodo recursivo para ordenar con merge.
- |
-
private boolean |
-recurenciaQuick(int izquerda,
- int derecha,
- boolean paso)
-Metodo recursivo para ordenar using quick sort.
- |
-
boolean |
-seleccion(boolean paso)
-Ordenar el array usando selección.
- |
-
void |
-setOrdered(boolean ordered)
-Cambiar el tipo de array entre ordenado o simple.
- |
-
boolean |
-shell(boolean paso)
-Ordenar el array usando shell.
- |
-
int |
-size()
-Devolver la cantidad de elementos en el array.
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private final java.lang.String[] array-
private int size-
private boolean ordered-
public Array(int tamano)-
tamano
- int: El tamaño del array a crear.public boolean isOrdered()-
public void setOrdered(boolean ordered)-
ordered
- boolean: Si es verdad, es de tipo ordenado, sino el tipo es simple.public boolean insertar(int valor)-
valor
- int: El valor a insertar.public boolean eliminar(int valor)-
valor
- int: El valor a eliminar.public int buscar(int valor)-
valor
- int: Valor a buscar.public void nuevo()-
public void llenar()-
public java.lang.String getIndice(int indice)-
indice
- int: El indice que desea ver.public int size()-
public boolean burbuja(boolean paso)-
paso
- boolean: Si es verdad, solo hago en paso del ordenamiento, sino ordenear todos los elementos.public boolean insercion(boolean paso)-
paso
- boolean: Si es verdad, solo hago en paso del ordenamiento, sino ordenear todos los elementos.public boolean seleccion(boolean paso)-
paso
- boolean: Si es verdad, solo hago en paso del ordenamiento, sino ordenear todos los elementos.public boolean shell(boolean paso)-
paso
- boolean: Si es verdad, solo hago en paso del ordenamiento, sino ordenear todos los elementos.public boolean quick(boolean paso)-
paso
- boolean: Si es verdad, solo hago en paso del ordenamiento, sino ordenear todos los elementos.private boolean recurenciaQuick(int izquerda, - int derecha, - boolean paso)-
izquerda
- int: La posición del quick desded la izquerda.derecha
- int: La posición del quick desded la derecha..paso
- boolean: Si es verdad, solo hago en paso del ordenamiento, sino ordenear todos los elementos.private Array.ParticionarResult particionar(int izquerda, - int derecha, - java.lang.String pivot)-
izquerda
- int: La posición del quick desde la izquerda.derecha
- int: La posición del quick desde la derecha.pivot
- String: El valor a comparar con los otros.public boolean merge(boolean paso)-
paso
- boolean: Si es verdad, solo hago en paso del ordenamiento, sino ordenear todos los elementos.private boolean recurenciaMerge(java.lang.String[] temp, - int izquerda, - int derecha, - boolean paso)-
temp
- String[]: El array temporario para trabajar.izquerda
- int: El lado izquerda.derecha
- int: El lado derecha.paso
- boolean: Verdad si es paso por paso.private boolean merge(java.lang.String[] temp, - int prevIzquerda, - int prevMedio, - int prevDerecha, - boolean paso)-
temp
- String[]: El array temporario para trabajar.prevIzquerda
- int: El valor previo de la izquerda.prevMedio
- int: El valor previo al medio.prevDerecha
- int: El valor previo de la derecha.paso
- boolean: Si es paso por paso.public class ArrayController
-extends java.lang.Object
-implements javafx.fxml.Initializable
-Modifier and Type | -Field and Description | -
---|---|
private Array |
-array
-El array usado en la aplicación.
- |
-
private javafx.scene.text.Text |
-codigoArray
-Donde va el codigo a mostrar a la pantalla.
- |
-
private javafx.scene.layout.VBox |
-contenidoArray
-Donde poner el contenido de array.
- |
-
private Grafico |
-grafico
-Grafico rectangulos.
- |
-
private java.util.ResourceBundle |
-resourceBundle
-Donde está guardado los idiomas.
- |
-
private javafx.scene.Scene |
-scene
-La escena donde está cosas graficas.
- |
-
private TextFieldLimited |
-valorArray
-La caja para ingresar textos.
- |
-
Constructor and Description | -
---|
ArrayController() |
-
Modifier and Type | -Method and Description | -
---|---|
protected void |
-botonBuscar()
-Buscar si existe un elemento en el array y mostrar el codigo en la pantalla
- Si existe el valor destacarlo.
- |
-
protected void |
-botonEliminar()
-Eliminar un valor del array si existe y mostrar el codigo en la pantalla.
- |
-
protected void |
-botonInsertar()
-Insertar un valor al array y mostrar el codigo en la pantalla.
- |
-
protected void |
-botonLlenar()
-Llenar el array con numeros al azar.
- |
-
protected void |
-botonVaciar()
-Vaciar el array de todos los valores.
- |
-
private void |
-generarGrafico()
-Poner los valores en el grafico.
- |
-
void |
-initialize(java.net.URL location,
- java.util.ResourceBundle resourceBundle)
-Inicializar todos los datos y dibujar las graficas.
- |
-
private void |
-initializeArray()
-Crear el array de tamaño 10.
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private TextFieldLimited valorArray-
private javafx.scene.layout.VBox contenidoArray-
private javafx.scene.text.Text codigoArray-
private javafx.scene.Scene scene-
private java.util.ResourceBundle resourceBundle-
private Array array-
private Grafico grafico-
public void initialize(java.net.URL location, - java.util.ResourceBundle resourceBundle)-
initialize
in interface javafx.fxml.Initializable
location
- URL: El URL de fxml en uso.resourceBundle
- ResourceBundle: Tiene datos de idioma.protected void botonLlenar()-
protected void botonVaciar()-
protected void botonInsertar()-
protected void botonEliminar()-
protected void botonBuscar()-
private void initializeArray()-
private void generarGrafico()-
public final class ArrayTipos
-extends java.lang.Object
-Modifier and Type | -Field and Description | -
---|---|
static int |
-ORDENADO
-Tipo de array ordenado.
- |
-
static int |
-SIMPLE
-Tipo de array simple.
- |
-
private int |
-tipo
-El tipo que está elegido.
- |
-
Constructor and Description | -
---|
ArrayTipos(int tipo)
-Inicilizar el tipo.
- |
-
Modifier and Type | -Method and Description | -
---|---|
int |
-getTipo()
-Devolver el tipo.
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final int SIMPLE-
public static final int ORDENADO-
private final int tipo-
public class BurbujaController
-extends java.lang.Object
-implements javafx.fxml.Initializable
-Modifier and Type | -Field and Description | -
---|---|
private Array |
-array
-El array usado en la aplicación.
- |
-
private javafx.scene.text.Text |
-codigoBurbuja
-Donde va el codigo a mostrar a la pantalla.
- |
-
private javafx.scene.layout.HBox |
-contenidoBurbuja
-Donde poner el contenido de array.
- |
-
private java.util.ResourceBundle |
-resourceBundle
-Donde está guardado los idiomas.
- |
-
private javafx.scene.Scene |
-scene
-La escena donde está cosas graficas.
- |
-
Constructor and Description | -
---|
BurbujaController() |
-
Modifier and Type | -Method and Description | -
---|---|
protected void |
-botonCorrer()
-Ordenarlo completamente.
- |
-
protected void |
-botonNuevo()
-Crear un array nuevo.
- |
-
protected void |
-botonPaso()
-Ordenarlo paso por paso.
- |
-
private void |
-generarGrafico()
-Poner los valores en el grafico.
- |
-
void |
-initialize(java.net.URL location,
- java.util.ResourceBundle resourceBundle)
-Inicializar todos los datos y dibujar las graficas.
- |
-
private void |
-initializeScene()
-Crear el array de tamaño 10.
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private javafx.scene.layout.HBox contenidoBurbuja-
private javafx.scene.text.Text codigoBurbuja-
private javafx.scene.Scene scene-
private java.util.ResourceBundle resourceBundle-
private Array array-
public void initialize(java.net.URL location, - java.util.ResourceBundle resourceBundle)-
initialize
in interface javafx.fxml.Initializable
location
- URL: El URL de fxml en uso.resourceBundle
- ResourceBundle: Tiene datos de idioma.protected void botonNuevo()-
protected void botonPaso()-
protected void botonCorrer()-
private void initializeScene()-
private void generarGrafico()-
public final class Cola
-extends java.lang.Object
-Modifier and Type | -Field and Description | -
---|---|
private java.lang.String[] |
-cola
-La cola.
- |
-
private int |
-size
-La cantidad de elementos que están en la cola.
- |
-
Constructor and Description | -
---|
Cola()
-Inicializar.
- |
-
Modifier and Type | -Method and Description | -
---|---|
java.lang.String |
-getIndice(int indice)
-Devolver el valor que está en un indice de la cola.
- |
-
void |
-llenar()
-Llenar la cola con valores al azar.
- |
-
int |
-peek()
-Peek al valor que está al principio de la cola.
- |
-
boolean |
-pop()
-Pop un valor del principio de la cola.
- |
-
void |
-push(int valor)
-Push un valor en la cola encima.
- |
-
int |
-size()
-Devolver la cantidad de elementos que están en la cola.
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private java.lang.String[] cola-
private int size-
public void push(int valor)-
valor
- int: El valor a push.public boolean pop()-
public int peek()-
public void llenar()-
public int size()-
public java.lang.String getIndice(int indice)-
indice
- int: El indice que desea devolver.public class ColaController
-extends java.lang.Object
-implements javafx.fxml.Initializable
-Modifier and Type | -Field and Description | -
---|---|
private javafx.scene.text.Text |
-codigoCola
-Donde va el codigo a mostrar a la pantalla.
- |
-
private Cola |
-cola
-La cola usado en la aplicación.
- |
-
private javafx.scene.layout.VBox |
-contenidoCola
-Donde poner el contenido de array.
- |
-
private Grafico |
-grafico
-Grafico rectangulos.
- |
-
private java.util.ResourceBundle |
-resourceBundle
-Donde está guardado los idiomas.
- |
-
private javafx.scene.Scene |
-scene
-La escena donde está cosas graficas.
- |
-
private TextFieldLimited |
-valorCola
-La caja para ingresar textos.
- |
-
Constructor and Description | -
---|
ColaController() |
-
Modifier and Type | -Method and Description | -
---|---|
protected void |
-botonLlenar()
-Llenar la cola con numeros al azar.
- |
-
protected void |
-botonPeek()
-Peek a ver si existe un elemento en la pila y mostrar el codigo en la pantalla
- Si existe un valor destacarlo.
- |
-
protected void |
-botonPop()
-Pop un valor de la pila si existe y mostrar el codigo en la pantalla.
- |
-
protected void |
-botonPush()
-Push un valor a la cola y mostrar el codigo en la pantalla.
- |
-
protected void |
-botonVaciar()
-Vaciar la cola de todos los valores.
- |
-
private void |
-generarGrafico()
-Poner los valores en el grafico.
- |
-
void |
-initialize(java.net.URL location,
- java.util.ResourceBundle resourceBundle)
-Inicializar todos los datos y dibujar las graficas.
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private TextFieldLimited valorCola-
private javafx.scene.layout.VBox contenidoCola-
private javafx.scene.text.Text codigoCola-
private javafx.scene.Scene scene-
private java.util.ResourceBundle resourceBundle-
private Cola cola-
private Grafico grafico-
public void initialize(java.net.URL location, - java.util.ResourceBundle resourceBundle)-
initialize
in interface javafx.fxml.Initializable
location
- URL: El URL de fxml en uso.resourceBundle
- ResourceBundle: Tiene datos de idioma.protected void botonLlenar()-
protected void botonVaciar()-
protected void botonPush()-
protected void botonPop()-
protected void botonPeek()-
private void generarGrafico()-
public class Colores
-extends java.lang.Object
-Modifier and Type | -Field and Description | -
---|---|
private javafx.scene.paint.Color |
-border
-El color de border actual.
- |
-
private int |
-color
-El color actual en forma numerica.
- |
-
private javafx.scene.paint.Color |
-fondo
-El color de fondo actual.
- |
-
static int |
-MAX_COLORS
-Cuantos colores estan definidos en esta clase.
- |
-
private javafx.scene.paint.Color |
-texto
-El color de texto actual.
- |
-
Constructor and Description | -
---|
Colores()
-Inicializar el primer color.
- |
-
Modifier and Type | -Method and Description | -
---|---|
void |
-colorAleatorio()
-Cambiar el color al siguinte.
- |
-
javafx.scene.paint.Color |
-getBorder()
-Devolver el color del border actual.
- |
-
javafx.scene.paint.Color |
-getFondo()
-Devolver el color del fondo actual.
- |
-
javafx.scene.paint.Color |
-getTexto()
-Devolver el color del texto actual.
- |
-
void |
-randomColorGenrator()
-Generar colores al azar.
- |
-
void |
-siguinteColor()
-Cambiar el color al siguinte.
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final int MAX_COLORS-
private int color-
private javafx.scene.paint.Color texto-
private javafx.scene.paint.Color fondo-
private javafx.scene.paint.Color border-
public Colores()-
public void siguinteColor()-
public void colorAleatorio()-
public void randomColorGenrator()-
public javafx.scene.paint.Color getTexto()-
public javafx.scene.paint.Color getFondo()-
public javafx.scene.paint.Color getBorder()-
interface Enlace
-EnlaceNormal
y EnlaceCircular
.Modifier and Type | -Method and Description | -
---|---|
int |
-getLlave()
-Devolver la llave.
- |
-
java.lang.Object |
-getPrevio()
-Devolver el listaEnlace previo.
- |
-
java.lang.Object |
-getSiguiente()
-Devolver el siguente listaEnlace.
- |
-
void |
-setLlave(int llave)
-Cambiar el valor de la llave.
- |
-
void |
-setPrevio(java.lang.Object previo)
-Cambiar el previo listaEnlace.
- |
-
void |
-setSiguiente(java.lang.Object siguiente)
-Cambiar el siguiente listaEnlace.
- |
-
int getLlave()-
void setLlave(int llave)-
llave
- int: El valor de la llave.java.lang.Object getSiguiente()-
void setSiguiente(java.lang.Object siguiente)-
siguiente
- Object: El siguiente listaEnlace nuevo.java.lang.Object getPrevio()-
void setPrevio(java.lang.Object previo)-
previo
- Object: El listaEnlace previo nuevo.Modifier and Type | -Field and Description | -
---|---|
private int |
-llave
-La llave.
- |
-
private EnlaceCircular |
-siguiente
-El siguiente listaEnlace.
- |
-
Constructor and Description | -
---|
EnlaceCircular()
-Incializar.
- |
-
Modifier and Type | -Method and Description | -
---|---|
int |
-getLlave()
-Devolver la llave.
- |
-
EnlaceCircular |
-getPrevio()
-Devolver el listaEnlace previo.
- |
-
EnlaceCircular |
-getSiguiente()
-Devolver el siguiente listaEnlace.
- |
-
void |
-setLlave(int llave)
-Cambiar el valor de la llave.
- |
-
void |
-setPrevio(java.lang.Object previo)
-Dummy metodo para usar interface
-Enlace |
-
void |
-setSiguiente(java.lang.Object siguiente)
-Cambiar el siguiente listaEnlace.
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private int llave-
private EnlaceCircular siguiente-
public int getLlave()-
public void setLlave(int llave)-
public EnlaceCircular getSiguiente()-
getSiguiente
in interface Enlace
public void setSiguiente(java.lang.Object siguiente)-
setSiguiente
in interface Enlace
siguiente
- Object: El siguiente listaEnlace nuevo de tipo EnlaceCircular
.public EnlaceCircular getPrevio()-
public void setPrevio(java.lang.Object previo)-
Enlace
setPrevio
in interface Enlace
previo
- Object: El listaEnlace previo nuevo de tipo EnlaceCircular
.Modifier and Type | -Field and Description | -
---|---|
private int |
-llave
-La llave.
- |
-
private EnlaceNormal |
-previo
-El listaEnlace previo por doble enlazada.
- |
-
private EnlaceNormal |
-siguiente
-El siguiente listaEnlace.
- |
-
Constructor and Description | -
---|
EnlaceNormal()
-Incializar.
- |
-
Modifier and Type | -Method and Description | -
---|---|
int |
-getLlave()
-Devolver la llave.
- |
-
EnlaceNormal |
-getPrevio()
-Devolver el listaEnlace previo.
- |
-
EnlaceNormal |
-getSiguiente()
-Devolver el siguiente listaEnlace.
- |
-
void |
-setLlave(int llave)
-Cambiar el valor de la llave.
- |
-
void |
-setPrevio(java.lang.Object previo)
-Cambiar el previo listaEnlace.
- |
-
void |
-setSiguiente(java.lang.Object siguiente)
-Cambiar el siguiente listaEnlace.
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private int llave-
private EnlaceNormal siguiente-
private EnlaceNormal previo-
public int getLlave()-
public void setLlave(int llave)-
public EnlaceNormal getSiguiente()-
getSiguiente
in interface Enlace
public void setSiguiente(java.lang.Object siguiente)-
setSiguiente
in interface Enlace
siguiente
- Object: El siguiente listaEnlace nuevo de tipo EnlaceNormal
.public EnlaceNormal getPrevio()-
public void setPrevio(java.lang.Object previo)-
setPrevio
in interface Enlace
previo
- Object: El listaEnlace previo nuevo de tipo EnlaceNormal
.private static final class Grafico.Destacados
-extends java.lang.Object
-Modifier and Type | -Field and Description | -
---|---|
private javafx.scene.paint.Color |
-color
-El color anterior del elemento destacado.
- |
-
private java.lang.String |
-id
-El id del elemento destacado.
- |
-
private javafx.animation.SequentialTransition |
-sequentialTransition
-La animación del elemento destacado.
- |
-
private int |
-tipo
-El tipo de objeto que está destacado.
- |
-
Constructor and Description | -
---|
Destacados(int tipo,
- java.lang.String id,
- javafx.scene.paint.Color color,
- javafx.animation.SequentialTransition sequentialTransition)
-Inicilizar.
- |
-
Modifier and Type | -Method and Description | -
---|---|
javafx.scene.paint.Color |
-getColor()
-Devolver el color anterior antes que fue destacado.
- |
-
java.lang.String |
-getId()
-Devolver el ID de elemento destacado.
- |
-
javafx.animation.SequentialTransition |
-getSequentialTransition()
-Devolver la animación que es en uso con el elemento.
- |
-
int |
-getTipo()
-Devolver el tipo de elemento destacado.
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private final int tipo-
private final java.lang.String id-
private final javafx.scene.paint.Color color-
private final javafx.animation.SequentialTransition sequentialTransition-
public Destacados(int tipo, - java.lang.String id, - javafx.scene.paint.Color color, - javafx.animation.SequentialTransition sequentialTransition)-
tipo
- int: El tipo de elemento destacado, , o .id
- String: El id para identificar el elemento.color
- Color: El color anterior para cambiarlo cuando Grafico.removerDestacar()
es usado.sequentialTransition
- SequentialTransition: La animación a usar.public int getTipo()-
public java.lang.String getId()-
public javafx.scene.paint.Color getColor()-
public javafx.animation.SequentialTransition getSequentialTransition()-
public class Grafico
-extends java.lang.Object
-Modifier and Type | -Class and Description | -
---|---|
private static class |
-Grafico.Destacados
-Clase de elemento destacado.
- |
-
Modifier and Type | -Field and Description | -
---|---|
static int |
-CIRCULO
-Tipo de dibujo circular.
- |
-
private java.util.List<Grafico.Destacados> |
-destacados
-Los elementos destacados.
- |
-
static int |
-DURACION
-Duración de la animación.
- |
-
static int |
-RECTANGULO
-Tipo de dibujo rectuangular.
- |
-
private javafx.scene.Scene |
-scene
-La escena donde está cosas graficas.
- |
-
static int |
-TEXTO
-Tipo de dibjuo texto
- |
-
Constructor and Description | -
---|
Grafico(javafx.scene.Scene scene)
-Graficar una escena.
- |
-
Modifier and Type | -Method and Description | -
---|---|
static javafx.scene.layout.StackPane |
-crearCaja(Colores colores,
- java.lang.String label)
-Crear un rectangulo.
- |
-
static javafx.scene.layout.StackPane |
-crearCaja(Colores colores,
- java.lang.String label,
- java.lang.String texto)
-Crear un rectangulo con texto adentro.
- |
-
static javafx.scene.layout.StackPane |
-crearCirculo(Colores colores,
- java.lang.String label) |
-
static javafx.scene.layout.Pane |
-crearEsquinaDerecha()
-Crear una linea horizontal para conecatar nodos de arboles.
- |
-
static javafx.scene.layout.Pane |
-crearEsquinaIzquerda()
-Crear una linea para conectar arboles.
- |
-
static javafx.scene.layout.StackPane |
-crearFlechaAbajo()
-Crear una flecha que apunta por abajo.
- |
-
static javafx.scene.layout.StackPane |
-crearFlechaArriba()
-Crear una flecha que apunta por arriba.
- |
-
static javafx.scene.layout.StackPane |
-crearHashCajas(Colores colores,
- java.lang.String label)
-Crear 3 rectangulos.
- |
-
static javafx.scene.layout.Pane |
-crearLineaCircular(int cajas)
-Crear la linea circular con flecha.
- |
-
static javafx.scene.layout.StackPane |
-crearLineaHorizontal()
-Crear una linea para conectar arboles.
- |
-
static javafx.scene.layout.StackPane |
-crearLineaVertical()
-Crear una linea vertical.
- |
-
private static javafx.animation.PauseTransition |
-createPauseTransition(javafx.scene.shape.Circle circle,
- javafx.scene.paint.Color colorBackground)
-Crear un animacion de transicion usando colores que cambian.
- |
-
private static javafx.animation.PauseTransition |
-createPauseTransition(javafx.scene.shape.Rectangle rectangle,
- javafx.scene.paint.Color colorBackground)
-Crear un animacion de transicion usando colores que cambian.
- |
-
private static javafx.animation.PauseTransition |
-createPauseTransition(javafx.scene.text.Text text,
- javafx.scene.paint.Color colorText)
-Crear un animacion de transicion usando colores que cambian.
- |
-
void |
-destacar(java.lang.String id,
- int tipo)
-Destacar un elemento
- |
-
void |
-removerDestacar()
-Remover todos los elementos destacados.
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final int DURACION-
public static final int RECTANGULO-
public static final int CIRCULO-
public static final int TEXTO-
private final javafx.scene.Scene scene-
private final java.util.List<Grafico.Destacados> destacados-
public Grafico(javafx.scene.Scene scene)-
scene
- La scene a destacar.public static javafx.scene.layout.StackPane crearFlechaAbajo()-
public static javafx.scene.layout.Pane crearEsquinaDerecha()-
public static javafx.scene.layout.Pane crearEsquinaIzquerda()-
public static javafx.scene.layout.StackPane crearLineaHorizontal()-
public static javafx.scene.layout.StackPane crearFlechaArriba()-
public static javafx.scene.layout.StackPane crearLineaVertical()-
public static javafx.scene.layout.Pane crearLineaCircular(int cajas)-
cajas
- int: La cantidad de cajas que están.public static javafx.scene.layout.StackPane crearCaja(Colores colores, - java.lang.String label)-
colores
- Colores: Los colores para dar color al rectangulo.label
- String: El texto por el ID de fxml.public static javafx.scene.layout.StackPane crearCaja(Colores colores, - java.lang.String label, - java.lang.String texto)-
colores
- Colores: Los colores para dar color al rectangulo.label
- String: El texto por el ID de fxml.texto
- String: El texto a colocar dentro el rectangulo.public static javafx.scene.layout.StackPane crearCirculo(Colores colores, - java.lang.String label)-
public static javafx.scene.layout.StackPane crearHashCajas(Colores colores, - java.lang.String label)-
colores
- Colores: Los colores para dar color a los rectangulos.label
- String: El texto por el ID de fxml.public void destacar(java.lang.String id, - int tipo)-
private static javafx.animation.PauseTransition createPauseTransition(javafx.scene.shape.Rectangle rectangle, - javafx.scene.paint.Color colorBackground)-
rectangle
- Rectangle: El objeto que desea animar.colorBackground
- Color: Color del fondo de destacar.private static javafx.animation.PauseTransition createPauseTransition(javafx.scene.shape.Circle circle, - javafx.scene.paint.Color colorBackground)-
circle
- Circle: El objeto que desea animar.colorBackground
- Color: Color del fondo de destacar.private static javafx.animation.PauseTransition createPauseTransition(javafx.scene.text.Text text, - javafx.scene.paint.Color colorText)-
text
- Text: El texto que desea animar.colorText
- Color: Color del texto.public void removerDestacar()-
T
- Generic objectpublic static interface Grafo.DFSVisitor<T>
-Modifier and Type | -Method and Description | -
---|---|
void |
-visit(Grafo.Dirigido<T> g,
- Grafo.Vertex<T> v)
-Called by the graph traversal methods when a vertex is first visited.
- |
-
void |
-visit(Grafo.Dirigido<T> g,
- Grafo.Vertex<T> v,
- Grafo.Edge<T> e)
-Used dfsSpanningTree to notify the visitor of each outgoing edge to an
- unvisited vertex.
- |
-
void visit(Grafo.Dirigido<T> g, - Grafo.Vertex<T> v)-
g
- -
- the graphv
- -
- the vertex being visited.void visit(Grafo.Dirigido<T> g, - Grafo.Vertex<T> v, - Grafo.Edge<T> e)-
g
- -
- the graphv
- -
- the vertex being visitede
- -
- the outgoing edge from vpublic static final class Grafo.Dirigido<T>
-extends java.lang.Object
-Modifier and Type | -Field and Description | -
---|---|
private java.util.List<Grafo.Edge<T>> |
-edges
-Vector of edges in the graph
- |
-
private Grafo.Vertex<T> |
-rootVertex
-The vertex identified as the root of the graph
- |
-
private java.util.List<Grafo.Vertex<T>> |
-verticies
-Vector of graph verticies
- |
-
static int |
-VISIT_COLOR_BLACK
-Color used to mark nodes after descendants are completely visited
- |
-
static int |
-VISIT_COLOR_GREY
-Color used to mark nodes as they are first visited in DFS order
- |
-
static int |
-VISIT_COLOR_WHITE
-Color used to mark unvisited nodes
- |
-
Constructor and Description | -
---|
Dirigido()
-Construct a new graph without any vertices or edges
- |
-
Modifier and Type | -Method and Description | -
---|---|
boolean |
-addEdge(Grafo.Vertex<T> from,
- Grafo.Vertex<T> to,
- int cost)
-Insert a directed, weighted Edge into the graph.
- |
-
boolean |
-addVertex(Grafo.Vertex<T> v)
-Add a vertex to the graph
- |
-
void |
-breadthFirstSearch(Grafo.Vertex<T> v,
- Grafo.Visitor<T> visitor)
-Perform a breadth first search of this graph, starting at v.
- |
-
<E extends java.lang.Exception> |
-breadthFirstSearch(Grafo.Vertex<T> v,
- Grafo.VisitorEX<T,E> visitor)
-Perform a breadth first search of this graph, starting at v.
- |
-
void |
-clearEdges()
-Clear the mark state of all edges in the graph by calling clearMark() on
- all edges.
- |
-
void |
-clearMark()
-Clear the mark state of all verticies in the graph by calling clearMark()
- on all verticies.
- |
-
<E extends java.lang.Exception> |
-depthFirstSearch(Grafo.Vertex<T> v,
- Grafo.VisitorEX<T,E> visitor)
-Perform a depth first serach using recursion.
- |
-
void |
-dfsSpanningTree(Grafo.Vertex<T> v,
- Grafo.DFSVisitor<T> visitor)
-Find the spanning tree using a DFS starting from v.
- |
-
Grafo.Edge<T>[] |
-findCycles()
-Search the graph for cycles.
- |
-
Grafo.Vertex<T> |
-findVertexByData(T data,
- java.util.Comparator<T> compare)
-Search the verticies for one with data.
- |
-
Grafo.Vertex<T> |
-findVertexByName(java.lang.String name)
-Search the verticies for one with name.
- |
-
java.util.List<Grafo.Edge<T>> |
-getEdges()
-Get the graph edges
- |
-
Grafo.Vertex<T> |
-getRootVertex()
-Get the root vertex
- |
-
Grafo.Vertex<T> |
-getVertex(int n)
-Get the given Vertex.
- |
-
java.util.List<Grafo.Vertex<T>> |
-getVerticies()
-Get the graph verticies
- |
-
boolean |
-insertBiEdge(Grafo.Vertex<T> from,
- Grafo.Vertex<T> to,
- int cost)
-Insert a bidirectional Edge in the graph
- |
-
boolean |
-isEmpty()
-Are there any verticies in the graph
- |
-
boolean |
-removeEdge(Grafo.Vertex<T> from,
- Grafo.Vertex<T> to)
-Remove an Edge from the graph
- |
-
boolean |
-removeVertex(Grafo.Vertex<T> v)
-Remove a vertex from the graph
- |
-
void |
-setRootVertex(Grafo.Vertex<T> root)
-Set a root vertex.
- |
-
int |
-size()
-Get the vertex count.
- |
-
java.lang.String |
-toString() |
-
private void |
-visit(Grafo.Vertex<T> v,
- java.util.ArrayList<Grafo.Edge<T>> cycleEdges) |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final int VISIT_COLOR_WHITE-
public static final int VISIT_COLOR_GREY-
public static final int VISIT_COLOR_BLACK-
private java.util.List<Grafo.Vertex<T>> verticies-
private java.util.List<Grafo.Edge<T>> edges-
private Grafo.Vertex<T> rootVertex-
public Dirigido()-
public boolean isEmpty()-
public boolean addVertex(Grafo.Vertex<T> v)-
v
- the Vertex to addpublic int size()-
public Grafo.Vertex<T> getRootVertex()-
public void setRootVertex(Grafo.Vertex<T> root)-
root
- -
- the vertex to set as the root and optionally add if it does not
- exist in the graph.public Grafo.Vertex<T> getVertex(int n)-
n
- the index [0, size()-1] of the Vertex to accesspublic java.util.List<Grafo.Vertex<T>> getVerticies()-
public boolean addEdge(Grafo.Vertex<T> from, - Grafo.Vertex<T> to, - int cost) - throws java.lang.IllegalArgumentException-
from
- -
- the Edge starting vertexto
- -
- the Edge ending vertexcost
- -
- the Edge weight/costjava.lang.IllegalArgumentException
- if from/to are not verticies in the graphpublic boolean insertBiEdge(Grafo.Vertex<T> from, - Grafo.Vertex<T> to, - int cost) - throws java.lang.IllegalArgumentException-
from
- -
- the Edge starting vertexto
- -
- the Edge ending vertexcost
- -
- the Edge weight/costjava.lang.IllegalArgumentException
- if from/to are not verticies in the graphpublic java.util.List<Grafo.Edge<T>> getEdges()-
public boolean removeVertex(Grafo.Vertex<T> v)-
v
- the Vertex to removepublic boolean removeEdge(Grafo.Vertex<T> from, - Grafo.Vertex<T> to)-
from
- -
- the Edge starting vertexto
- -
- the Edge ending vertexpublic void clearMark()-
Grafo.Vertex.clearMark()
public void clearEdges()-
public <E extends java.lang.Exception> void depthFirstSearch(Grafo.Vertex<T> v, - Grafo.VisitorEX<T,E> visitor) - throws E extends java.lang.Exception-
E
- Exceptionv
- -
- the Vertex to start the search fromvisitor
- -
- the vistor to inform prior toE
- if visitor.visit throws an exceptionE extends java.lang.Exception
public void breadthFirstSearch(Grafo.Vertex<T> v, - Grafo.Visitor<T> visitor)-
v
- -
- the search starting pointvisitor
- -
- the vistor whose vist method is called prior to visting a vertex.public <E extends java.lang.Exception> void breadthFirstSearch(Grafo.Vertex<T> v, - Grafo.VisitorEX<T,E> visitor) - throws E extends java.lang.Exception-
E
- -
- exceptionv
- -
- the search starting pointvisitor
- -
- the vistor whose vist method is called prior to visting a vertex.E
- if vistor.visit throws an exceptionE extends java.lang.Exception
public void dfsSpanningTree(Grafo.Vertex<T> v, - Grafo.DFSVisitor<T> visitor)-
v
- -
- the vertex to start the search fromvisitor
- -
- visitor invoked after each vertex is visited and an edge is added
- to the tree.public Grafo.Vertex<T> findVertexByName(java.lang.String name)-
name
- -
- the vertex namepublic Grafo.Vertex<T> findVertexByData(T data, - java.util.Comparator<T> compare)-
data
- -
- the vertex data to matchcompare
- -
- the comparator to perform the matchpublic Grafo.Edge<T>[] findCycles()-
private void visit(Grafo.Vertex<T> v, - java.util.ArrayList<Grafo.Edge<T>> cycleEdges)-
public java.lang.String toString()-
toString
in class java.lang.Object
T
- Generic objectpublic static final class Grafo.Edge<T>
-extends java.lang.Object
-Modifier and Type | -Field and Description | -
---|---|
private int |
-cost |
-
private Grafo.Vertex<T> |
-from |
-
private boolean |
-mark |
-
private Grafo.Vertex<T> |
-to |
-
Constructor and Description | -
---|
Edge(Grafo.Vertex<T> from,
- Grafo.Vertex<T> to)
-Create a zero cost edge between from and to
- |
-
Edge(Grafo.Vertex<T> from,
- Grafo.Vertex<T> to,
- int cost)
-Create an edge between from and to with the given cost.
- |
-
Modifier and Type | -Method and Description | -
---|---|
void |
-clearMark()
-Clear the edge mark flag
- |
-
int |
-getCost()
-Get the cost of the edge
- |
-
Grafo.Vertex<T> |
-getFrom()
-Get the starting vertex
- |
-
Grafo.Vertex<T> |
-getTo()
-Get the ending vertex
- |
-
boolean |
-isMarked()
-Get the edge mark flag
- |
-
void |
-mark()
-Set the mark flag of the edge
- |
-
java.lang.String |
-toString()
-String rep of edge
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
private Grafo.Vertex<T> from-
private Grafo.Vertex<T> to-
private int cost-
private boolean mark-
public Edge(Grafo.Vertex<T> from, - Grafo.Vertex<T> to)-
from
- the starting vertexto
- the ending vertexpublic Edge(Grafo.Vertex<T> from, - Grafo.Vertex<T> to, - int cost)-
from
- the starting vertexto
- the ending vertexcost
- the cost of the edgepublic Grafo.Vertex<T> getTo()-
public Grafo.Vertex<T> getFrom()-
public int getCost()-
public void mark()-
public void clearMark()-
public boolean isMarked()-
public java.lang.String toString()-
toString
in class java.lang.Object
public static final class Grafo.NoDirigido<T>
-extends java.lang.Object
-implements java.lang.Iterable<T>
-Modifier and Type | -Field and Description | -
---|---|
private java.util.Map<T,java.util.Set<T>> |
-mGraph |
-
Constructor and Description | -
---|
NoDirigido() |
-
Modifier and Type | -Method and Description | -
---|---|
void |
-addEdge(T one,
- T two)
-Given two nodes, adds an arc of that length between those nodes.
- |
-
boolean |
-addNode(T node)
-Adds a new node to the graph.
- |
-
boolean |
-containsNode(T node)
-Returns whether a given node is contained in the graph.
- |
-
boolean |
-edgeExists(T one,
- T two)
-Given two endpoints, returns whether an edge exists between them.
- |
-
java.util.Set<T> |
-edgesFrom(T node)
-Given a node in the graph, returns an immutable view of the edges
- leaving that node.
- |
-
boolean |
-isEmpty()
-Returns whether the graph is empty.
- |
-
java.util.Iterator<T> |
-iterator()
-Returns an iterator that can traverse the nodes in the graph.
- |
-
boolean |
-nodeExists(T node)
-Given a node, returns whether that node exists in the graph.
- |
-
void |
-removeEdge(T one,
- T two)
-Removes the edge between the indicated endpoints from the graph.
- |
-
boolean |
-removeNode(T node)
-Remove a node from the graph.
- |
-
int |
-size()
-Returns the number of nodes in the graph.
- |
-
java.lang.String |
-toString()
-Returns a human-readable representation of the graph.
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public boolean addNode(T node)-
node
- The node to add.public boolean removeNode(T node)-
node
- The node to remove.public boolean nodeExists(T node)-
node
- The node in question.public void addEdge(T one, - T two)-
one
- The first node.two
- The second node.java.util.NoSuchElementException
- If either the start or destination nodes
- do not exist.public void removeEdge(T one, - T two)-
one
- The start node.two
- The destination node.java.util.NoSuchElementException
- If either node is not in the graph.public boolean edgeExists(T one, - T two)-
one
- The first endpoint.two
- The second endpoint.java.util.NoSuchElementException
- If the endpoints are not nodes in the
- graph.public java.util.Set<T> edgesFrom(T node)-
node
- The node whose edges should be queried.java.util.NoSuchElementException
- If the node does not exist.public boolean containsNode(T node)-
node
- The node to test for inclusion.public java.util.Iterator<T> iterator()-
iterator
in interface java.lang.Iterable<T>
public int size()-
public boolean isEmpty()-
public java.lang.String toString()-
toString
in class java.lang.Object
public static final class Grafo.Tipos
-extends java.lang.Object
-Modifier and Type | -Field and Description | -
---|---|
static int |
-DIRIGIDO
-Tipo de grafo dirigido.
- |
-
static int |
-NO_DIRIGIDO
-Tipo de grafo no dirigido.
- |
-
static int |
-PESO
-Tipo de grafo dirigido con peso.
- |
-
private int |
-tipo
-El tipo que está elegido.
- |
-
Constructor and Description | -
---|
Tipos(int tipo)
-Inicilizar el tipo.
- |
-
Modifier and Type | -Method and Description | -
---|---|
int |
-getTipo()
-Devolver el tipo.
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final int DIRIGIDO-
public static final int NO_DIRIGIDO-
public static final int PESO-
private final int tipo-
T
- Generic objectpublic static final class Grafo.Vertex<T>
-extends java.lang.Object
-Modifier and Type | -Field and Description | -
---|---|
private T |
-data |
-
private java.util.List<Grafo.Edge<T>> |
-incomingEdges |
-
private boolean |
-mark |
-
private int |
-markState |
-
private java.lang.String |
-name |
-
private java.util.List<Grafo.Edge<T>> |
-outgoingEdges |
-
Constructor and Description | -
---|
Vertex()
-Calls this(null, null).
- |
-
Vertex(java.lang.String n)
-Create a vertex with the given name and no data
- |
-
Vertex(java.lang.String n,
- T data)
-Create a Vertex with name n and given data
- |
-
Modifier and Type | -Method and Description | -
---|---|
boolean |
-addEdge(Grafo.Edge<T> e)
-Add an edge to the vertex.
- |
-
void |
-addIncomingEdge(Grafo.Vertex<T> from,
- int cost)
-Add an incoming edge starting at from
- |
-
void |
-addOutgoingEdge(Grafo.Vertex<T> to,
- int cost)
-Add an outgoing edge ending at to.
- |
-
void |
-clearMark()
-Clear the visited mark flag.
- |
-
int |
-cost(Grafo.Vertex<T> dest)
-What is the cost from this vertext to the dest vertex.
- |
-
Grafo.Edge<T> |
-findEdge(Grafo.Edge<T> e)
-Search the outgoing edges for a match to e.
- |
-
Grafo.Edge<T> |
-findEdge(Grafo.Vertex<T> dest)
-Search the outgoing edges looking for an edge whose's edge.to == dest.
- |
-
T |
-getData() |
-
Grafo.Edge<T> |
-getIncomingEdge(int i)
-Get the ith incoming edge
- |
-
int |
-getIncomingEdgeCount() |
-
java.util.List |
-getIncomingEdges()
-Get the incoming edges
- |
-
int |
-getMarkState()
-Get the mark state value.
- |
-
java.lang.String |
-getName() |
-
Grafo.Edge<T> |
-getOutgoingEdge(int i)
-Get the ith outgoing edge
- |
-
int |
-getOutgoingEdgeCount() |
-
java.util.List |
-getOutgoingEdges()
-Get the outgoing edges
- |
-
boolean |
-hasEdge(Grafo.Edge<T> e)
-Check the vertex for either an incoming or outgoing edge mathcing e.
- |
-
boolean |
-hasEdge(Grafo.Vertex<T> dest)
-Is there an outgoing edge ending at dest.
- |
-
void |
-mark()
-Set the vertex mark flag.
- |
-
boolean |
-remove(Grafo.Edge<T> e)
-Remove an edge from this vertex
- |
-
void |
-setData(T data) |
-
void |
-setMarkState(int state)
-Set the mark state to state.
- |
-
java.lang.String |
-toString() |
-
void |
-visit()
-Visit the vertex and set the mark flag to true.
- |
-
boolean |
-visited()
-Has this vertex been marked during a visit
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
private java.util.List<Grafo.Edge<T>> incomingEdges-
private java.util.List<Grafo.Edge<T>> outgoingEdges-
private java.lang.String name-
private boolean mark-
private int markState-
private T data-
public Vertex()-
public Vertex(java.lang.String n)-
n
- -
- return npublic Vertex(java.lang.String n, - T data)-
n
- -
- name of vertexdata
- -
- data associated with vertexpublic java.lang.String getName()-
public T getData()-
public void setData(T data)-
data
- The data to set.public boolean addEdge(Grafo.Edge<T> e)-
e
- -
- the edge to addpublic void addOutgoingEdge(Grafo.Vertex<T> to, - int cost)-
to
- -
- the destination vertexcost
- the edge costpublic void addIncomingEdge(Grafo.Vertex<T> from, - int cost)-
from
- -
- the starting vertexcost
- the edge costpublic boolean hasEdge(Grafo.Edge<T> e)-
e
- the edge to checkpublic boolean remove(Grafo.Edge<T> e)-
e
- -
- the edge to removepublic int getIncomingEdgeCount()-
public Grafo.Edge<T> getIncomingEdge(int i)-
i
- the index into incoming edgespublic java.util.List getIncomingEdges()-
public int getOutgoingEdgeCount()-
public Grafo.Edge<T> getOutgoingEdge(int i)-
i
- the index into outgoing edgespublic java.util.List getOutgoingEdges()-
public Grafo.Edge<T> findEdge(Grafo.Vertex<T> dest)-
dest
- the destinationpublic Grafo.Edge<T> findEdge(Grafo.Edge<T> e)-
e
- -
- the edge to checkpublic int cost(Grafo.Vertex<T> dest)-
dest
- -
- the destination vertex.public boolean hasEdge(Grafo.Vertex<T> dest)-
dest
- -
- the vertex to checkpublic boolean visited()-
public void mark()-
public void setMarkState(int state)-
state
- the statepublic int getMarkState()-
public void visit()-
public void clearMark()-
public java.lang.String toString()-
toString
in class java.lang.Object
T
- Generic objectpublic static interface Grafo.Visitor<T>
-Modifier and Type | -Method and Description | -
---|---|
void |
-visit(Grafo.Dirigido<T> g,
- Grafo.Vertex<T> v)
-Called by the graph traversal methods when a vertex is first visited.
- |
-
void visit(Grafo.Dirigido<T> g, - Grafo.Vertex<T> v)-
g
- -
- the graphv
- -
- the vertex being visited.T
- Generic objectE
- Exceptionpublic static interface Grafo.VisitorEX<T,E extends java.lang.Exception>
-Modifier and Type | -Method and Description | -
---|---|
void |
-visit(Grafo.Dirigido<T> g,
- Grafo.Vertex<T> v)
-Called by the graph traversal methods when a vertex is first visited.
- |
-
void visit(Grafo.Dirigido<T> g, - Grafo.Vertex<T> v) - throws E extends java.lang.Exception-
g
- -
- the graphv
- -
- the vertex being visited.E
- exception for any errorE extends java.lang.Exception
public class Grafo
-extends java.lang.Object
-Modifier and Type | -Class and Description | -
---|---|
static interface |
-Grafo.DFSVisitor<T>
-A spanning tree visitor callback interface
- |
-
static class |
-Grafo.Dirigido<T> |
-
static class |
-Grafo.Edge<T>
-A directed, weighted edge in a graph
- |
-
static class |
-Grafo.NoDirigido<T>
-Author: Keith Schwarz (htiek@cs.stanford.edu)
- |
-
static class |
-Grafo.Tipos
-Esta clase contiene los arbolTipo de grafoNoDirigido.
- |
-
static class |
-Grafo.Vertex<T>
-A named graph vertex with optional data.
- |
-
static interface |
-Grafo.Visitor<T>
-A graph visitor interface.
- |
-
static interface |
-Grafo.VisitorEX<T,E extends java.lang.Exception>
-A graph visitor interface that can throw an exception during a visit
- callback.
- |
-
public class GrafoController
-extends java.lang.Object
-implements javafx.fxml.Initializable
-Modifier and Type | -Field and Description | -
---|---|
private javafx.scene.text.Text |
-codigoGrafo
-Donde va el codigo a mostrar a la pantalla.
- |
-
private javafx.scene.canvas.Canvas |
-contenidoGrafo
-Donde poner el contenido de array.
- |
-
private Grafo.Dirigido<GrafoNodo> |
-dirigido
-El grafoNoDirigido dirigido usado en la aplicación.
- |
-
private Grafico |
-grafico
-Grafico rectangulos.
- |
-
private GrafoNodo[] |
-grafoNodos
-Nodos.
- |
-
private Grafo.Tipos |
-grafoTipos
-Tipo de grafoNoDirigido.
- |
-
private Grafo.NoDirigido<GrafoNodo> |
-noDirigido
-El grafoNoDirigido no dirigido usado en la aplicación.
- |
-
private static int |
-PESO_PREDETERMINADO
-Un peso estatico.
- |
-
private java.util.ResourceBundle |
-resourceBundle
-Donde está guardado los idiomas.
- |
-
private javafx.scene.Scene |
-scene
-La escena donde está cosas graficas.
- |
-
private TextFieldLimited |
-valorGrafo
-La caja para el valor.
- |
-
private TextFieldLimited |
-valorNodo1
-La caja por nodo 1.
- |
-
private TextFieldLimited |
-valorNodo2
-La caja por nodo 2.
- |
-
private TextFieldLimited |
-valorPeso
-La caja por el peso.
- |
-
Constructor and Description | -
---|
GrafoController() |
-
Modifier and Type | -Method and Description | -
---|---|
protected void |
-botonEliminar()
-Eliminar un nodo del grafoNoDirigido.
- |
-
protected void |
-botonEliminarEdge()
-Eliminar un edge del grafoNoDirigido y mostrar el codigo en la pantalla.
- |
-
protected void |
-botonInsertar()
-Insertar un nodo en el grafoNoDirigido.
- |
-
protected void |
-botonInsertarEdge()
-Insertar un edge al grafoNoDirigido y mostrar el codigo en la pantalla.
- |
-
protected void |
-botonLlenar()
-LLenar el grafoNoDirigido con nodos y edges al azar.
- |
-
protected void |
-botonVaciar()
-Eliminar el grafoNoDirigido.
- |
-
private boolean |
-edgeExists(GrafoNodo nodo1,
- GrafoNodo nodo2)
-Buscar un grafoNoDirigido dirigido para ver si existe en edge entre los nodos.
- |
-
private void |
-generarGrafico()
-Generar la canvas con el grafoNoDirigido.
- |
-
private GrafoNodo[] |
-getNodosEdge()
-Devolver los nodos que existen.
- |
-
private java.lang.String |
-getTipoString()
-Devolver el tipo de grafo en un string.
- |
-
void |
-initialize(java.net.URL location,
- java.util.ResourceBundle resourceBundle)
-Inicializar todos los datos y dibujar las graficas.
- |
-
private void |
-initializeGrafo()
-Crear un grafoNoDirigido nuevo.
- |
-
private int |
-textX(int x,
- java.lang.String texto)
-Calcular la posición del texto basado en la cantidad de caracters.
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private TextFieldLimited valorGrafo-
private TextFieldLimited valorNodo1-
private TextFieldLimited valorNodo2-
private TextFieldLimited valorPeso-
private javafx.scene.canvas.Canvas contenidoGrafo-
private javafx.scene.text.Text codigoGrafo-
private javafx.scene.Scene scene-
private java.util.ResourceBundle resourceBundle-
private Grafo.Tipos grafoTipos-
private Grafo.Dirigido<GrafoNodo> dirigido-
private Grafo.NoDirigido<GrafoNodo> noDirigido-
private Grafico grafico-
private GrafoNodo[] grafoNodos-
private static final int PESO_PREDETERMINADO-
public void initialize(java.net.URL location, - java.util.ResourceBundle resourceBundle)-
initialize
in interface javafx.fxml.Initializable
location
- URL: El URL de fxml en uso.resourceBundle
- ResourceBundle: Tiene datos de idioma.protected void botonLlenar()-
protected void botonVaciar()-
protected void botonInsertar()-
protected void botonEliminar()-
protected void botonInsertarEdge()-
protected void botonEliminarEdge()-
private void initializeGrafo()-
private GrafoNodo[] getNodosEdge()-
private boolean edgeExists(GrafoNodo nodo1, - GrafoNodo nodo2)-
nodo1
- GrafoNodo: El primer nodo a buscar.nodo2
- GrafoNodo: El otro nodo a buscar.private java.lang.String getTipoString()-
private void generarGrafico()-
private int textX(int x, - java.lang.String texto)-
x
- int: La posición donde desea el texto.texto
- String: El texto a posicionar.class GrafoNodo
-extends java.lang.Object
-Modifier and Type | -Field and Description | -
---|---|
private int |
-value
-El valor del nodo.
- |
-
Constructor and Description | -
---|
GrafoNodo(int value)
-Inicializar un nodo.
- |
-
Modifier and Type | -Method and Description | -
---|---|
int |
-getValue()
-Devolver el valor del nodo.
- |
-
void |
-setValue(int value)
-Cambiar el valor del nodo.
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public class HashItem
-extends java.lang.Object
-Modifier and Type | -Field and Description | -
---|---|
private int |
-indice
-Donde el elemento está en el array.
- |
-
private java.lang.String |
-llave
-La llave.
- |
-
private int |
-valor
-El valor.
- |
-
Constructor and Description | -
---|
HashItem(java.lang.String llave,
- int valor)
-Inicilizar.
- |
-
Modifier and Type | -Method and Description | -
---|---|
int |
-getIndice()
-Devolver el indice del elemento.
- |
-
java.lang.String |
-getLlave()
-Devolver la llave del elemento.
- |
-
int |
-getValor()
-Devolver el valor del elemento.
- |
-
void |
-setIndice(int indice)
-Cambiar el indice.
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private final java.lang.String llave-
private final int valor-
private int indice-
public HashItem(java.lang.String llave, - int valor)-
llave
- String: La llave del elemento.valor
- int: El valor del elemento.public java.lang.String getLlave()-
public int getValor()-
public int getIndice()-
public void setIndice(int indice)-
indice
- int: El indice.public class HashTable
-extends java.lang.Object
-Modifier and Type | -Field and Description | -
---|---|
private HashItem[] |
-hashArray
-El array donde están todos los elementos de la tabla hash.
- |
-
private int |
-size
-Cantidad de elementos que están en la tabla hash.
- |
-
private int |
-tamano
-El tamaño maximo de la tabla hash.
- |
-
Constructor and Description | -
---|
HashTable(int tamano)
-Inicilizar.
- |
-
Modifier and Type | -Method and Description | -
---|---|
HashItem |
-buscar(java.lang.String llave)
-Buscar una llave en la tabla hash.
- |
-
boolean |
-eliminar(java.lang.String llave)
-Eliminar un elemento de la tabla hash.
- |
-
HashItem |
-getIndice(int indice)
-Devolver el valor que está guardado en cada indice.
- |
-
int |
-hash(java.lang.String string)
-Este metodo crea un hash usando una llave.
- |
-
int |
-hashMejor(java.lang.String string)
-Este metodo crea un hash muy único.
- |
-
boolean |
-insertar(java.lang.String llave,
- int valor)
-Insertar una llave y valor en la tabla hash.
- |
-
int |
-size()
-Devolver la cantidad de elementos que están en la tabla.
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private final HashItem[] hashArray-
private final int tamano-
private int size-
public HashTable(int tamano)-
tamano
- int: El tamaño maximo de la tabla hash.public int size()-
public int hashMejor(java.lang.String string)-
string
- String: El string a hashear.public boolean insertar(java.lang.String llave, - int valor)-
llave
- String: La llave para identificar un elemento.valor
- int: El valor a insertar.public int hash(java.lang.String string)-
string
- String: El string a hashear.public boolean eliminar(java.lang.String llave)-
llave
- String: La llave a elminar.public HashItem buscar(java.lang.String llave)-
llave
- String: La llave a buscar.public HashItem getIndice(int indice)-
indice
- int: El indice que desea ver.public class HashTableController
-extends java.lang.Object
-implements javafx.fxml.Initializable
-Modifier and Type | -Field and Description | -
---|---|
private javafx.scene.text.Text |
-codigoHashTable
-Donde va el codigo a mostrar a la pantalla.
- |
-
private javafx.scene.layout.VBox |
-contenidoHashTable
-Donde poner el contenido de hashTable.
- |
-
private Grafico |
-grafico
-Grafico rectangulos.
- |
-
private HashTable |
-hashTable
-El hashTable usado en la aplicación.
- |
-
private TextFieldLimited |
-llaveHashTable
-La caja para ingresar la llave.
- |
-
private java.util.ResourceBundle |
-resourceBundle
-Donde está guardado los idiomas.
- |
-
private javafx.scene.Scene |
-scene
-La escena donde está cosas graficas.
- |
-
private TextFieldLimited |
-valorHashTable
-La caja para ingresar el valor.
- |
-
Constructor and Description | -
---|
HashTableController() |
-
Modifier and Type | -Method and Description | -
---|---|
protected void |
-botonBuscar()
-Buscar si existe un elemento en el hashTable y mostrar el codigo en la pantalla
- Si existe el valor destacarlo.
- |
-
protected void |
-botonEliminar()
-Eliminar un valor del hashTable si existe y mostrar el codigo en la pantalla.
- |
-
protected void |
-botonInsertar()
-Insertar un valor al hashTable y mostrar el codigo en la pantalla.
- |
-
protected void |
-botonLlenar()
-Llenar el hashTable con numeros al azar.
- |
-
protected void |
-botonVaciar()
-Vaciar el hashTable de todos los valores.
- |
-
private void |
-generarGrafico()
-Poner los valores en el grafico.
- |
-
void |
-initialize(java.net.URL location,
- java.util.ResourceBundle resourceBundle)
-Inicializar todos los datos y dibujar las graficas.
- |
-
private void |
-initializeHashTable()
-Crear el hashTable de tamaño 10.
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private TextFieldLimited llaveHashTable-
private TextFieldLimited valorHashTable-
private javafx.scene.layout.VBox contenidoHashTable-
private javafx.scene.text.Text codigoHashTable-
private javafx.scene.Scene scene-
private java.util.ResourceBundle resourceBundle-
private HashTable hashTable-
private Grafico grafico-
public void initialize(java.net.URL location, - java.util.ResourceBundle resourceBundle)-
initialize
in interface javafx.fxml.Initializable
location
- URL: El URL de fxml en uso.resourceBundle
- ResourceBundle: Tiene datos de idioma.protected void botonLlenar()-
private void initializeHashTable()-
private void generarGrafico()-
protected void botonVaciar()-
protected void botonInsertar()-
protected void botonEliminar()-
protected void botonBuscar()-
public class InsercionController
-extends java.lang.Object
-implements javafx.fxml.Initializable
-Modifier and Type | -Field and Description | -
---|---|
private Array |
-array
-El array usado en la aplicación.
- |
-
private javafx.scene.text.Text |
-codigoInsercion
-Donde va el codigo a mostrar a la pantalla.
- |
-
private javafx.scene.layout.HBox |
-contenidoInsercion
-Donde poner el contenido de array.
- |
-
private java.util.ResourceBundle |
-resourceBundle
-Donde está guardado los idiomas.
- |
-
private javafx.scene.Scene |
-scene
-La escena donde está cosas graficas.
- |
-
Constructor and Description | -
---|
InsercionController() |
-
Modifier and Type | -Method and Description | -
---|---|
protected void |
-botonCorrer()
-Ordenarlo completamente.
- |
-
protected void |
-botonNuevo()
-Crear un array nuevo.
- |
-
protected void |
-botonPaso()
-Ordenarlo paso por paso.
- |
-
private void |
-generarGrafico()
-Poner los valores en el grafico.
- |
-
void |
-initialize(java.net.URL location,
- java.util.ResourceBundle resourceBundle)
-Inicializar todos los datos y dibujar las graficas.
- |
-
private void |
-initializeScene()
-Crear el array de tamaño 10.
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private javafx.scene.layout.HBox contenidoInsercion-
private javafx.scene.text.Text codigoInsercion-
private javafx.scene.Scene scene-
private java.util.ResourceBundle resourceBundle-
private Array array-
public void initialize(java.net.URL location, - java.util.ResourceBundle resourceBundle)-
initialize
in interface javafx.fxml.Initializable
location
- URL: El URL de fxml en uso.resourceBundle
- ResourceBundle: Tiene datos de idioma.protected void botonNuevo()-
protected void botonPaso()-
protected void botonCorrer()-
private void initializeScene()-
private void generarGrafico()-
interface ListaEnlace
-ListaEnlaceNormal
y ListaEnlaceCircular
.Modifier and Type | -Method and Description | -
---|---|
int |
-getLlave()
-Devolver la llave.
- |
-
java.lang.Object |
-getPrevio()
-Devolver el enlace previo.
- |
-
java.lang.Object |
-getSiguiente()
-Devolver el siguente enlace.
- |
-
void |
-setLlave(int llave)
-Cambiar el valor de la llave.
- |
-
void |
-setPrevio(java.lang.Object previo)
-Cambiar el previo enlace.
- |
-
void |
-setSiguiente(java.lang.Object siguiente)
-Cambiar el siguiente enlace.
- |
-
int getLlave()-
void setLlave(int llave)-
llave
- int: El valor de la llave.java.lang.Object getSiguiente()-
void setSiguiente(java.lang.Object siguiente)-
siguiente
- Object: El siguiente enlace nuevo.java.lang.Object getPrevio()-
void setPrevio(java.lang.Object previo)-
previo
- Object: El enlace previo nuevo.public final class ListaEnlaceCircular -extends java.lang.Object -implements ListaEnlace-
Modifier and Type | -Field and Description | -
---|---|
private int |
-llave
-La llave.
- |
-
private ListaEnlaceCircular |
-siguiente
-El siguiente enlace.
- |
-
Constructor and Description | -
---|
ListaEnlaceCircular()
-Incializar.
- |
-
Modifier and Type | -Method and Description | -
---|---|
int |
-getLlave()
-Devolver la llave.
- |
-
ListaEnlaceCircular |
-getPrevio()
-Devolver el enlace previo.
- |
-
ListaEnlaceCircular |
-getSiguiente()
-Devolver el siguiente enlace.
- |
-
void |
-setLlave(int llave)
-Cambiar el valor de la llave.
- |
-
void |
-setPrevio(java.lang.Object previo)
-Dummy metodo para usar interface
-ListaEnlace |
-
void |
-setSiguiente(java.lang.Object siguiente)
-Cambiar el siguiente enlace.
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private int llave-
private ListaEnlaceCircular siguiente-
public ListaEnlaceCircular()-
public int getLlave()-
getLlave
in interface ListaEnlace
public void setLlave(int llave)-
setLlave
in interface ListaEnlace
llave
- int: El valor de la llave.public ListaEnlaceCircular getSiguiente()-
getSiguiente
in interface ListaEnlace
public void setSiguiente(java.lang.Object siguiente)-
setSiguiente
in interface ListaEnlace
siguiente
- Object: El siguiente enlace nuevo de tipo ListaEnlaceCircular
.public ListaEnlaceCircular getPrevio()-
getPrevio
in interface ListaEnlace
public void setPrevio(java.lang.Object previo)-
ListaEnlace
setPrevio
in interface ListaEnlace
previo
- Object: El enlace previo nuevo de tipo ListaEnlaceCircular
.public final class ListaEnlaceNormal -extends java.lang.Object -implements ListaEnlace-
Modifier and Type | -Field and Description | -
---|---|
private int |
-llave
-La llave.
- |
-
private ListaEnlaceNormal |
-previo
-El enlace previo por doble enlazada.
- |
-
private ListaEnlaceNormal |
-siguiente
-El siguiente enlace.
- |
-
Constructor and Description | -
---|
ListaEnlaceNormal()
-Incializar.
- |
-
Modifier and Type | -Method and Description | -
---|---|
int |
-getLlave()
-Devolver la llave.
- |
-
ListaEnlaceNormal |
-getPrevio()
-Devolver el enlace previo.
- |
-
ListaEnlaceNormal |
-getSiguiente()
-Devolver el siguiente enlace.
- |
-
void |
-setLlave(int llave)
-Cambiar el valor de la llave.
- |
-
void |
-setPrevio(java.lang.Object previo)
-Cambiar el previo enlace.
- |
-
void |
-setSiguiente(java.lang.Object siguiente)
-Cambiar el siguiente enlace.
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private int llave-
private ListaEnlaceNormal siguiente-
private ListaEnlaceNormal previo-
public ListaEnlaceNormal()-
public int getLlave()-
getLlave
in interface ListaEnlace
public void setLlave(int llave)-
setLlave
in interface ListaEnlace
llave
- int: El valor de la llave.public ListaEnlaceNormal getSiguiente()-
getSiguiente
in interface ListaEnlace
public void setSiguiente(java.lang.Object siguiente)-
setSiguiente
in interface ListaEnlace
siguiente
- Object: El siguiente enlace nuevo de tipo ListaEnlaceNormal
.public ListaEnlaceNormal getPrevio()-
getPrevio
in interface ListaEnlace
public void setPrevio(java.lang.Object previo)-
setPrevio
in interface ListaEnlace
previo
- Object: El enlace previo nuevo de tipo ListaEnlaceNormal
.public class ListaEnlazada.Enlace
-extends java.lang.Object
- Modifier and Type | -Field and Description | -
---|---|
private int |
- llave
- |
-
private ListaEnlazada.Enlace |
- siguente
- |
-
private int |
- valor
- |
-
Modifier | -Constructor and Description | -
---|---|
protected |
- Enlace()
- |
-
Modifier and Type | -Method and Description | -
---|---|
protected int |
- getLlave()
- |
-
protected ListaEnlazada.Enlace |
- getSiguente()
- |
-
protected int |
- getValor()
- |
-
protected void |
- setLlave(int llave)
- |
-
protected void |
- setSiguente(ListaEnlazada.Enlace siguente)
- |
-
protected void |
- setValor(int valor)
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait,
- wait, wait
private int llave-
private int valor-
private ListaEnlazada.Enlace siguente-
protected int getLlave()-
protected void setLlave(int llave)-
protected int getValor()-
protected void setValor(int valor)-
protected ListaEnlazada.Enlace getSiguente()-
protected void setSiguente(ListaEnlazada.Enlace siguente)-
public static final class ListaEnlazada.Tipos
-extends java.lang.Object
-Modifier and Type | -Field and Description | -
---|---|
static int |
-CIRCULAR
-Tipo circular.
- |
-
static int |
-DOBLEMENTE_ENLAZADA
-Tipo doblemente enlazada.
- |
-
static int |
-SIMPLE
-Tipo simple.
- |
-
private int |
-tipo
-El tipo elegido.
- |
-
Constructor and Description | -
---|
Tipos(int tipo)
-Inicilizar el tipo de lista enlazada.
- |
-
Modifier and Type | -Method and Description | -
---|---|
int |
-getTipo()
-Devolver el tipo de lista enlazada.
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final int SIMPLE-
public static final int CIRCULAR-
public static final int DOBLEMENTE_ENLAZADA-
private final int tipo-
public final class ListaEnlazada
-extends java.lang.Object
-Modifier and Type | -Class and Description | -
---|---|
static class |
-ListaEnlazada.Tipos
-Esta clase contiene los arbolTipo de listas enlazadas.
- |
-
Modifier and Type | -Field and Description | -
---|---|
private ListaEnlace |
-lista
-El enlace principal de la lista.
- |
-
private int |
-size
-La cantidad de enlaces que están en la lista.
- |
-
private int |
-tipo
-El tipo de lista enlazada.
- |
-
Constructor and Description | -
---|
ListaEnlazada()
-Inicilizar.
- |
-
Modifier and Type | -Method and Description | -
---|---|
ListaEnlace |
-buscar(int llave)
-Buscar una llave en la lista.
- |
-
boolean |
-eliminar(int llave)
-Eliminar un enlace de la lista.
- |
-
ListaEnlace |
-getIndice(int indice)
-Devolver un enlace con su llave y valor.
- |
-
int |
-getTipo()
-Devolver el tipo de lista.
- |
-
boolean |
-insertar(int llave)
-Insertar una llave en la lista.
- |
-
void |
-setTipo(int tipo)
-Cambiar el tipo de lista.
- |
-
int |
-size()
-Devolver la cantidad de enlaces que están en la lista.
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private ListaEnlace lista-
private int size-
private int tipo-
public int getTipo()-
public void setTipo(int tipo)-
tipo
- int: El tipo a cambiar.public boolean insertar(int llave)-
llave
- int: La llave a insertar.public boolean eliminar(int llave)-
llave
- int: La llave a eliminar.public ListaEnlace buscar(int llave)-
llave
- int: La llave a buscar.public ListaEnlace getIndice(int indice)-
indice
- int: El indice que desea ver.public int size()-
public final class ListaEnlazadaCircular
-extends java.lang.Object
-Modifier and Type | -Field and Description | -
---|---|
private ListaEnlace |
-primer
-El primer enlace.
- |
-
private int |
-size
-La cantidad de enlaces que hay.
- |
-
private int |
-tipo
-El tipo de lista enlazada.
- |
-
private ListaEnlace |
-ultimo
-El ultimo enlace.
- |
-
Constructor and Description | -
---|
ListaEnlazadaCircular()
-Inicilizar.
- |
-
Modifier and Type | -Method and Description | -
---|---|
ListaEnlace |
-buscar(int llave)
-Buscar una llave en la lista.
- |
-
boolean |
-eliminar(int llave)
-Eliminar un enlace de la lista.
- |
-
ListaEnlace |
-getIndice(int indice)
-Devolver un enlace con su llave y valor.
- |
-
int |
-getTipo()
-Devolver el tipo de lista.
- |
-
boolean |
-insertar(int llave)
-Insertar una llave en la lista.
- |
-
void |
-setTipo(int tipo)
-Cambiar el tipo de lista.
- |
-
int |
-size()
-Devolver la cantidad de enlaces que están en la lista.
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private ListaEnlace primer-
private ListaEnlace ultimo-
private int size-
private int tipo-
public ListaEnlazadaCircular()-
public int getTipo()-
public void setTipo(int tipo)-
tipo
- int: El tipo a cambiar.public boolean insertar(int llave)-
llave
- int: La llave a insertar.public boolean eliminar(int llave)-
llave
- int: La llave a elminiar.public ListaEnlace buscar(int llave)-
llave
- int: La llave a buscar.public int size()-
public ListaEnlace getIndice(int indice)-
indice
- int: El indice que desea ver.public final class ListaEnlazadaTipos
-extends java.lang.Object
-Modifier and Type | -Field and Description | -
---|---|
static int |
-CIRCULAR
-Tipo circular.
- |
-
static int |
-DOBLEMENTE_ENLAZADA
-Tipo doblemente enlazada.
- |
-
static int |
-SIMPLE
-Tipo simple.
- |
-
private int |
-tipo
-El tipo elegido.
- |
-
Constructor and Description | -
---|
ListaEnlazadaTipos(int tipo)
-Inicilizar el tipo de lista enlazada.
- |
-
Modifier and Type | -Method and Description | -
---|---|
int |
-getTipo()
-Devolver el tipo de lista enlazada.
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final int SIMPLE-
public static final int CIRCULAR-
public static final int DOBLEMENTE_ENLAZADA-
private final int tipo-
public class ListaEnlazdaController
-extends java.lang.Object
-implements javafx.fxml.Initializable
-Modifier and Type | -Field and Description | -
---|---|
private javafx.scene.text.Text |
-codigoLista
-Donde va el codigo a mostrar a la pantalla.
- |
-
private Colores |
-colores
-Colores por los dibjos.
- |
-
private javafx.scene.layout.VBox |
-contenidoLista
-Donde poner el contenido de lista.
- |
-
private javafx.scene.layout.VBox |
-contenidoListaCircular
-Donde poner el contenido de lista circular.
- |
-
private Grafico |
-grafico
-Grafico rectangulos y lineas.
- |
-
private ListaEnlazada |
-listaEnlazada
-La lista enlazada usado en la aplicación.
- |
-
private ListaEnlazadaCircular |
-listaEnlazadaCircular
-La lista enlazada circular usado en la aplicación.
- |
-
private ListaEnlazada.Tipos |
-listaEnlazadaTipos
-Tipo de lista enlazada a trabajar.
- |
-
private java.util.ResourceBundle |
-resourceBundle
-Donde está guardado los idiomas.
- |
-
private javafx.scene.Scene |
-scene
-La escena donde está cosas graficas.
- |
-
private TextFieldLimited |
-valorLista
-La caja para ingresar el valor.
- |
-
Constructor and Description | -
---|
ListaEnlazdaController() |
-
Modifier and Type | -Method and Description | -
---|---|
protected void |
-botonBuscar()
-Buscar si existe una llave en la lista y mostrar el codigo en la pantalla
- Si existe la llave destacarla.
- |
-
protected void |
-botonEliminar()
-Eliminar un valor de la lista si existe y mostrar el codigo en la pantalla.
- |
-
protected void |
-botonInsertar()
-Insertar un valor a la lista y mostrar el codigo en la pantalla.
- |
-
protected void |
-botonLlenar()
-Llenar la lista con numeros al azar.
- |
-
protected void |
-botonVaciar()
-Vaciar la lista de todos los valores.
- |
-
private void |
-dibujarDoble(ListaEnlace listaEnlace,
- boolean primer)
-Dibujarlo con dos flechas.
- |
-
private void |
-dibujarSimple(ListaEnlace listaEnlace,
- boolean sinFlecha)
-Dibujarlo con una flecha.
- |
-
private void |
-generarGrafico()
-Poner los valores en el grafico.
- |
-
private java.lang.String |
-getTipoString()
-Devolver la string de tipo de lista enlazada.
- |
-
void |
-initialize(java.net.URL location,
- java.util.ResourceBundle resourceBundle)
-Inicializar todos los datos y dibujar las graficas.
- |
-
private void |
-initializeLista()
-Crear una lista vacia.
- |
-
private void |
-nuevaLista()
-Crear una nueva lista enlazada.
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private TextFieldLimited valorLista-
private javafx.scene.layout.VBox contenidoLista-
private javafx.scene.layout.VBox contenidoListaCircular-
private javafx.scene.text.Text codigoLista-
private javafx.scene.Scene scene-
private java.util.ResourceBundle resourceBundle-
private ListaEnlazada listaEnlazada-
private ListaEnlazadaCircular listaEnlazadaCircular-
private ListaEnlazada.Tipos listaEnlazadaTipos-
private Grafico grafico-
private Colores colores-
public ListaEnlazdaController()-
public void initialize(java.net.URL location, - java.util.ResourceBundle resourceBundle)-
initialize
in interface javafx.fxml.Initializable
location
- URL: El URL de fxml en uso.resourceBundle
- ResourceBundle: Tiene datos de idioma.protected void botonLlenar()-
protected void botonVaciar()-
protected void botonInsertar()-
protected void botonEliminar()-
protected void botonBuscar()-
private void initializeLista()-
private java.lang.String getTipoString()-
private void generarGrafico()-
private void nuevaLista()-
private void dibujarSimple(ListaEnlace listaEnlace, - boolean sinFlecha)-
listaEnlace
- ListaEnlace: El listaEnlace que tiene la llave y valor.sinFlecha
- boolean: Verdad si necesita dibujar una flecha.private void dibujarDoble(ListaEnlace listaEnlace, - boolean primer)-
listaEnlace
- ListaEnlace: El listaEnlace que tiene la llave y valor.primer
- boolean: Verdad si es el primer elemento de la lista.private static enum Logs.DEBUG_TIPOS -extends java.lang.Enum<Logs.DEBUG_TIPOS>-
Enum Constant and Description | -
---|
ARCHIVO |
-
CONSOLA |
-
Modifier and Type | -Method and Description | -
---|---|
static Logs.DEBUG_TIPOS |
-valueOf(java.lang.String name)
-Returns the enum constant of this type with the specified name.
- |
-
static Logs.DEBUG_TIPOS[] |
-values()
-Returns an array containing the constants of this enum type, in
-the order they are declared.
- |
-
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getClass, notify, notifyAll, wait, wait, wait
public static final Logs.DEBUG_TIPOS ARCHIVO-
public static final Logs.DEBUG_TIPOS CONSOLA-
public static Logs.DEBUG_TIPOS[] values()-
-for (Logs.DEBUG_TIPOS c : Logs.DEBUG_TIPOS.values()) - System.out.println(c); -
public static Logs.DEBUG_TIPOS valueOf(java.lang.String name)-
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic class Logs
-extends java.lang.Object
-Modifier and Type | -Class and Description | -
---|---|
private static class |
-Logs.DEBUG_TIPOS
-Tipos de depuración.
- |
-
Modifier and Type | -Field and Description | -
---|---|
static boolean |
-DEBUG
-Estado de depuración.
- |
-
static Logs.DEBUG_TIPOS |
-DEBUG_TIPO
-Tipo de depuración a usar.
- |
-
java.util.logging.FileHandler |
-fileHandler |
-
static java.lang.String |
-LOGFILE
-Nombre de archivo para guardar los logs.
- |
-
static java.lang.String |
-LOGNAME
-Nombre del log.
- |
-
Constructor and Description | -
---|
Logs()
-Crear un logger usando "EDD".
- |
-
Modifier and Type | -Method and Description | -
---|---|
void |
-close()
-Cerrar el archivo.
- |
-
static void |
-log(java.util.logging.Level level,
- java.lang.Exception exception)
-Agregar un log al logger y agregar el stack trace.
- |
-
static void |
-log(java.util.logging.Level level,
- java.lang.String mensaje)
-Agregar un log al logger con un mensaje.
- |
-
static void |
-log(java.lang.String mensaje)
-Agregar un log al logger con un mensaje.
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final boolean DEBUG-
public static final Logs.DEBUG_TIPOS DEBUG_TIPO-
public static final java.lang.String LOGFILE-
public static final java.lang.String LOGNAME-
public java.util.logging.FileHandler fileHandler-
public Logs()-
public void close()-
public static void log(java.lang.String mensaje)-
mensaje
- String: El mensaje de lo que pasó.public static void log(java.util.logging.Level level, - java.lang.String mensaje)-
level
- Level: El tipo de error o mensaje que ha sido generado.mensaje
- String: El mensaje de lo que pasó.public static void log(java.util.logging.Level level, - java.lang.Exception exception)-
level
- Level: El tipo de error o mensaje que ha sido generado.exception
- String: El mensaje de lo que pasó.public class Main
-extends javafx.application.Application
-javafx.application.Application.Parameters
Modifier and Type | -Field and Description | -
---|---|
private static Logs |
-logs
-El logger.
- |
-
STYLESHEET_CASPIAN, STYLESHEET_MODENA
Modifier and Type | -Method and Description | -
---|---|
static void |
-main(java.lang.String[] args)
-Inicilizar el logeo y lanzar la interfaz grafica.
- |
-
static void |
-mostrarError(java.lang.String mensaje,
- java.util.ResourceBundle resourceBundle)
-Mostrar una ventana con mensaje en la pantalla.
- |
-
static void |
-setIcon(javafx.scene.control.Dialog dialog,
- java.lang.Class clase)
-Cambiar el icono de una ventana.
- |
-
void |
-start(javafx.stage.Stage stage)
-Crear el stage y la scene para la aplicación grafica.
- |
-
void |
-stop() |
-
getHostServices, getParameters, getUserAgentStylesheet, init, launch, launch, notifyPreloader, setUserAgentStylesheet
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public void start(javafx.stage.Stage stage)-
start
in class javafx.application.Application
stage
- Stage: El primer stage donde va todas las cosas visuales.public void stop()-
stop
in class javafx.application.Application
public static void main(java.lang.String[] args)-
args
- String[]: Argumentos desde la consola.public static void setIcon(javafx.scene.control.Dialog dialog, - java.lang.Class clase)-
dialog
- Dialog: El Dialog a cambiar.clase
- Class: La clase usado para abrir el Stream.public static void mostrarError(java.lang.String mensaje, - java.util.ResourceBundle resourceBundle)-
mensaje
- String: El mensaje a mostrar.resourceBundle
- ResourceBundle: Contiene el idioma actual.public class MenuController
-extends javafx.scene.layout.VBox
-implements javafx.fxml.Initializable
-alignmentProperty, fillWidthProperty, spacingProperty
backgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, heightProperty, insetsProperty, maxHeightProperty, maxWidthProperty, minHeightProperty, minWidthProperty, opaqueInsetsProperty, paddingProperty, prefHeightProperty, prefWidthProperty, scaleShapeProperty, shapeProperty, snapToPixelProperty, widthProperty
impl_traversalEngineProperty, needsLayoutProperty
accessibleHelpProperty, accessibleRoleDescriptionProperty, accessibleRoleProperty, accessibleTextProperty, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, cacheHintProperty, cacheProperty, clipProperty, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectiveNodeOrientationProperty, effectProperty, eventDispatcherProperty, focusedProperty, focusTraversableProperty, hoverProperty, idProperty, impl_showMnemonicsProperty, impl_treeVisibleProperty, inputMethodRequestsProperty, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParentTransformProperty, localToSceneTransformProperty, managedProperty, mouseTransparentProperty, nodeOrientationProperty, onContextMenuRequestedProperty, onDragDetectedProperty, onDragDoneProperty, onDragDroppedProperty, onDragEnteredProperty, onDragExitedProperty, onDragOverProperty, onInputMethodTextChangedProperty, onKeyPressedProperty, onKeyReleasedProperty, onKeyTypedProperty, onMouseClickedProperty, onMouseDragEnteredProperty, onMouseDragExitedProperty, onMouseDraggedProperty, onMouseDragOverProperty, onMouseDragReleasedProperty, onMouseEnteredProperty, onMouseExitedProperty, onMouseMovedProperty, onMousePressedProperty, onMouseReleasedProperty, onRotateProperty, onRotationFinishedProperty, onRotationStartedProperty, onScrollFinishedProperty, onScrollProperty, onScrollStartedProperty, onSwipeDownProperty, onSwipeLeftProperty, onSwipeRightProperty, onSwipeUpProperty, onTouchMovedProperty, onTouchPressedProperty, onTouchReleasedProperty, onTouchStationaryProperty, onZoomFinishedProperty, onZoomProperty, onZoomStartedProperty, opacityProperty, parentProperty, pickOnBoundsProperty, pressedProperty, rotateProperty, rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, styleProperty, translateXProperty, translateYProperty, translateZProperty, visibleProperty
Modifier and Type | -Field and Description | -
---|---|
private javafx.scene.control.MenuBar |
-menuBar
-La barra del menu.
- |
-
private java.util.ResourceBundle |
-resourceBundle
-Los idiomas.
- |
-
USE_COMPUTED_SIZE, USE_PREF_SIZE
BASELINE_OFFSET_SAME_AS_HEIGHT
Constructor and Description | -
---|
MenuController() |
-
Modifier and Type | -Method and Description | -
---|---|
void |
-initialize(java.net.URL location,
- java.util.ResourceBundle resourceBundle)
-Inicialicar el menu con el idioma.
- |
-
private void |
-loadStage(java.util.ResourceBundle resourceBundle)
-Cargar el fxml y css cuando el idioma cambia.
- |
-
private void |
-loadStage(java.lang.String title,
- java.lang.String fxml,
- java.lang.String css)
-Cargar el fxml, css y titulo.
- |
-
private void |
-loadStage(java.lang.String title,
- java.lang.String fxml,
- java.lang.String css,
- java.lang.Object object)
-Cargar el fxml, css y titulo y pasar un objeto a la escena nueva.
- |
-
protected void |
-menuAcerca()
-Click en Acerca.
- |
-
protected void |
-menuArbolGeneral()
-Click en Arbol General.
- |
-
protected void |
-menuArrayOrdenado()
-Click en Array Ordenado.
- |
-
protected void |
-menuArraySimple()
-Click en Array Simple.
- |
-
protected void |
-menuBurbuja()
-Click en Burbuja.
- |
-
protected void |
-menuCola()
-Click en Cola.
- |
-
protected void |
-menuEspanol()
-Click en Español.
- |
-
protected void |
-menuGrafoDirigidos()
-Click en Grafo Dirigidos.
- |
-
protected void |
-menuGrafoNoDirigidos()
-Click en Grafo No Dirigidos.
- |
-
protected void |
-menuGrafoPeso()
-Click en Grafo No Dirigidos.
- |
-
protected void |
-menuHashTable()
-Click en Hash Table.
- |
-
protected void |
-menuIngles()
-Click en Ingles.
- |
-
protected void |
-menuInsercion()
-Click en Inserción.
- |
-
protected void |
-menuListaEnlazadaCircular()
-Click en Lista Enlazada Circular.
- |
-
protected void |
-menuListaEnlazadaDoble()
-Click en Lista Enlazada Doble.
- |
-
protected void |
-menuListaEnlazadaSimple()
-Click en Lista Enlazada Simple.
- |
-
protected void |
-menuMerge()
-Click en Merge.
- |
-
protected void |
-menuPila()
-Click en Pila.
- |
-
protected void |
-menuQuick()
-Click en Quick.
- |
-
protected void |
-menuSeleccion()
-Click en Selecion.
- |
-
protected void |
-menuShell()
-Click en Shell.
- |
-
private void |
-openFXML(java.lang.String fxml,
- javafx.scene.Scene scene,
- javafx.stage.Stage stage) |
-
alignmentProperty, clearConstraints, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, fillWidthProperty, getAlignment, getClassCssMetaData, getContentBias, getCssMetaData, getMargin, getSpacing, getVgrow, isFillWidth, layoutChildren, requestLayout, setAlignment, setFillWidth, setMargin, setSpacing, setVgrow, spacingProperty
getChildren
backgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, computeMaxHeight, computeMaxWidth, getBackground, getBorder, getHeight, getInsets, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOpaqueInsets, getPadding, getPrefHeight, getPrefWidth, getShape, getUserAgentStylesheet, getWidth, heightProperty, impl_computeContains, impl_computeGeomBounds, impl_computeLayoutBounds, impl_createPeer, impl_notifyLayoutBoundsChanged, impl_pickNodeLocal, impl_updatePeer, insetsProperty, isCacheShape, isCenterShape, isResizable, isScaleShape, isSnapToPixel, layoutInArea, layoutInArea, layoutInArea, layoutInArea, maxHeight, maxHeightProperty, maxWidth, maxWidthProperty, minHeight, minHeightProperty, minWidth, minWidthProperty, opaqueInsetsProperty, paddingProperty, positionInArea, positionInArea, prefHeight, prefHeightProperty, prefWidth, prefWidthProperty, resize, scaleShapeProperty, setBackground, setBorder, setCacheShape, setCenterShape, setHeight, setMaxHeight, setMaxSize, setMaxWidth, setMinHeight, setMinSize, setMinWidth, setOpaqueInsets, setPadding, setPrefHeight, setPrefSize, setPrefWidth, setScaleShape, setShape, setSnapToPixel, setWidth, shapeProperty, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapSize, snapSpace, snapToPixelProperty, widthProperty
getBaselineOffset, getChildrenUnmodifiable, getImpl_traversalEngine, getManagedChildren, getStylesheets, impl_getAllParentStylesheets, impl_processCSS, impl_processMXNode, impl_traversalEngineProperty, isNeedsLayout, layout, lookup, needsLayoutProperty, queryAccessibleAttribute, requestParentLayout, setImpl_traversalEngine, setNeedsLayout, updateBounds
accessibleHelpProperty, accessibleRoleDescriptionProperty, accessibleRoleProperty, accessibleTextProperty, addEventFilter, addEventHandler, applyCss, autosize, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, computeAreaInScreen, contains, contains, containsBounds, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectiveNodeOrientationProperty, effectProperty, eventDispatcherProperty, executeAccessibleAction, fireEvent, focusedProperty, focusTraversableProperty, getAccessibleHelp, getAccessibleRole, getAccessibleRoleDescription, getAccessibleText, getBlendMode, getBoundsInLocal, getBoundsInParent, getCacheHint, getClip, getCursor, getDepthTest, getEffect, getEffectiveNodeOrientation, getEventDispatcher, getId, getInputMethodRequests, getLayoutBounds, getLayoutX, getLayoutY, getLocalToParentTransform, getLocalToSceneTransform, getNodeOrientation, getOnContextMenuRequested, getOnDragDetected, getOnDragDone, getOnDragDropped, getOnDragEntered, getOnDragExited, getOnDragOver, getOnInputMethodTextChanged, getOnKeyPressed, getOnKeyReleased, getOnKeyTyped, getOnMouseClicked, getOnMouseDragEntered, getOnMouseDragExited, getOnMouseDragged, getOnMouseDragOver, getOnMouseDragReleased, getOnMouseEntered, getOnMouseExited, getOnMouseMoved, getOnMousePressed, getOnMouseReleased, getOnRotate, getOnRotationFinished, getOnRotationStarted, getOnScroll, getOnScrollFinished, getOnScrollStarted, getOnSwipeDown, getOnSwipeLeft, getOnSwipeRight, getOnSwipeUp, getOnTouchMoved, getOnTouchPressed, getOnTouchReleased, getOnTouchStationary, getOnZoom, getOnZoomFinished, getOnZoomStarted, getOpacity, getParent, getProperties, getPseudoClassStates, getRotate, getRotationAxis, getScaleX, getScaleY, getScaleZ, getScene, getStyle, getStyleableParent, getStyleClass, getTransforms, getTranslateX, getTranslateY, getTranslateZ, getTypeSelector, getUserData, hasProperties, hoverProperty, idProperty, impl_clearDirty, impl_computeIntersects, impl_cssGetCursorInitialValue, impl_cssGetFocusTraversableInitialValue, impl_findStyles, impl_geomChanged, impl_getLeafTransform, impl_getMatchingStyles, impl_getPeer, impl_getPivotX, impl_getPivotY, impl_getPivotZ, impl_getStyleMap, impl_hasTransforms, impl_intersects, impl_intersectsBounds, impl_isDirty, impl_isDirtyEmpty, impl_isShowMnemonics, impl_isTreeVisible, impl_layoutBoundsChanged, impl_markDirty, impl_pickNode, impl_processCSS, impl_reapplyCSS, impl_setShowMnemonics, impl_setStyleMap, impl_showMnemonicsProperty, impl_syncPeer, impl_transformsChanged, impl_traverse, impl_treeVisibleProperty, inputMethodRequestsProperty, intersects, intersects, isCache, isDisable, isDisabled, isFocused, isFocusTraversable, isHover, isManaged, isMouseTransparent, isPickOnBounds, isPressed, isVisible, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParent, localToParent, localToParent, localToParent, localToParent, localToParentTransformProperty, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToSceneTransformProperty, localToScreen, localToScreen, localToScreen, localToScreen, localToScreen, lookupAll, managedProperty, mouseTransparentProperty, nodeOrientationProperty, notifyAccessibleAttributeChanged, onContextMenuRequestedProperty, onDragDetectedProperty, onDragDoneProperty, onDragDroppedProperty, onDragEnteredProperty, onDragExitedProperty, onDragOverProperty, onInputMethodTextChangedProperty, onKeyPressedProperty, onKeyReleasedProperty, onKeyTypedProperty, onMouseClickedProperty, onMouseDragEnteredProperty, onMouseDragExitedProperty, onMouseDraggedProperty, onMouseDragOverProperty, onMouseDragReleasedProperty, onMouseEnteredProperty, onMouseExitedProperty, onMouseMovedProperty, onMousePressedProperty, onMouseReleasedProperty, onRotateProperty, onRotationFinishedProperty, onRotationStartedProperty, onScrollFinishedProperty, onScrollProperty, onScrollStartedProperty, onSwipeDownProperty, onSwipeLeftProperty, onSwipeRightProperty, onSwipeUpProperty, onTouchMovedProperty, onTouchPressedProperty, onTouchReleasedProperty, onTouchStationaryProperty, onZoomFinishedProperty, onZoomProperty, onZoomStartedProperty, opacityProperty, parentProperty, parentToLocal, parentToLocal, parentToLocal, parentToLocal, parentToLocal, pickOnBoundsProperty, pressedProperty, pseudoClassStateChanged, relocate, removeEventFilter, removeEventHandler, requestFocus, resizeRelocate, rotateProperty, rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, screenToLocal, screenToLocal, screenToLocal, setAccessibleHelp, setAccessibleRole, setAccessibleRoleDescription, setAccessibleText, setBlendMode, setCache, setCacheHint, setClip, setCursor, setDepthTest, setDisable, setDisabled, setEffect, setEventDispatcher, setEventHandler, setFocused, setFocusTraversable, setHover, setId, setInputMethodRequests, setLayoutX, setLayoutY, setManaged, setMouseTransparent, setNodeOrientation, setOnContextMenuRequested, setOnDragDetected, setOnDragDone, setOnDragDropped, setOnDragEntered, setOnDragExited, setOnDragOver, setOnInputMethodTextChanged, setOnKeyPressed, setOnKeyReleased, setOnKeyTyped, setOnMouseClicked, setOnMouseDragEntered, setOnMouseDragExited, setOnMouseDragged, setOnMouseDragOver, setOnMouseDragReleased, setOnMouseEntered, setOnMouseExited, setOnMouseMoved, setOnMousePressed, setOnMouseReleased, setOnRotate, setOnRotationFinished, setOnRotationStarted, setOnScroll, setOnScrollFinished, setOnScrollStarted, setOnSwipeDown, setOnSwipeLeft, setOnSwipeRight, setOnSwipeUp, setOnTouchMoved, setOnTouchPressed, setOnTouchReleased, setOnTouchStationary, setOnZoom, setOnZoomFinished, setOnZoomStarted, setOpacity, setPickOnBounds, setPressed, setRotate, setRotationAxis, setScaleX, setScaleY, setScaleZ, setStyle, setTranslateX, setTranslateY, setTranslateZ, setUserData, setVisible, snapshot, snapshot, startDragAndDrop, startFullDrag, styleProperty, toBack, toFront, toString, translateXProperty, translateYProperty, translateZProperty, usesMirroring, visibleProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
private javafx.scene.control.MenuBar menuBar-
private java.util.ResourceBundle resourceBundle-
public void initialize(java.net.URL location, - java.util.ResourceBundle resourceBundle)-
initialize
in interface javafx.fxml.Initializable
location
- URL: Tiene URL de FXML en uso.resourceBundle:
- Tiene los idiomas.protected void menuArraySimple()-
protected void menuArrayOrdenado()-
protected void menuBurbuja()-
protected void menuInsercion()-
protected void menuSeleccion()-
protected void menuShell()-
protected void menuQuick()-
protected void menuMerge()-
protected void menuListaEnlazadaSimple()-
protected void menuListaEnlazadaCircular()-
protected void menuListaEnlazadaDoble()-
protected void menuPila()-
protected void menuCola()-
protected void menuArbolGeneral()-
protected void menuGrafoDirigidos()-
protected void menuGrafoNoDirigidos()-
protected void menuGrafoPeso()-
protected void menuHashTable()-
protected void menuIngles()-
protected void menuEspanol()-
protected void menuAcerca()-
private void loadStage(java.lang.String title, - java.lang.String fxml, - java.lang.String css)-
title
- String: El titulo de la escena.fxml
- String: El archivo de fxml.css
- String: El archivo de css.private void loadStage(java.lang.String title, - java.lang.String fxml, - java.lang.String css, - java.lang.Object object)-
title
- String: El titulo de la escena.fxml
- String: El archivo de fxml.css
- String: El archivo de css.object
- Object: El objeto a pasar a la nueva escena.private void loadStage(java.util.ResourceBundle resourceBundle)-
resourceBundle
- ResourceBundle: El idioma nuevo para cambiarlo.private void openFXML(java.lang.String fxml, - javafx.scene.Scene scene, - javafx.stage.Stage stage)-
public class MergeController
-extends java.lang.Object
-implements javafx.fxml.Initializable
-Modifier and Type | -Field and Description | -
---|---|
private Array |
-array
-El array usado en la aplicación.
- |
-
private javafx.scene.text.Text |
-codigoMerge
-Donde va el codigo a mostrar a la pantalla.
- |
-
private javafx.scene.layout.HBox |
-contenidoMerge
-Donde poner el contenido de array.
- |
-
private java.util.ResourceBundle |
-resourceBundle
-Donde está guardado los idiomas.
- |
-
private javafx.scene.Scene |
-scene
-La escena donde está cosas graficas.
- |
-
Constructor and Description | -
---|
MergeController() |
-
Modifier and Type | -Method and Description | -
---|---|
protected void |
-botonCorrer()
-Ordenarlo completamente.
- |
-
protected void |
-botonNuevo()
-Crear un array nuevo.
- |
-
protected void |
-botonPaso()
-Ordenarlo paso por paso.
- |
-
private void |
-generarGrafico()
-Poner los valores en el grafico.
- |
-
void |
-initialize(java.net.URL location,
- java.util.ResourceBundle resourceBundle)
-Inicializar todos los datos y dibujar las graficas.
- |
-
private void |
-initializeScene()
-Crear el array de tamaño 10.
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private javafx.scene.layout.HBox contenidoMerge-
private javafx.scene.text.Text codigoMerge-
private javafx.scene.Scene scene-
private java.util.ResourceBundle resourceBundle-
private Array array-
public void initialize(java.net.URL location, - java.util.ResourceBundle resourceBundle)-
initialize
in interface javafx.fxml.Initializable
location
- URL: El URL de fxml en uso.resourceBundle
- ResourceBundle: Tiene datos de idioma.protected void botonNuevo()-
protected void botonPaso()-
protected void botonCorrer()-
private void initializeScene()-
private void generarGrafico()-
public class Palabras
-extends java.lang.Object
-Modifier and Type | -Field and Description | -
---|---|
private java.util.List<java.lang.String> |
-palabras |
-
Modifier and Type | -Method and Description | -
---|---|
java.lang.String |
-getPalabra() |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public final class Pila
-extends java.lang.Object
-Modifier and Type | -Field and Description | -
---|---|
private java.lang.String[] |
-pila
-La pila.
- |
-
private int |
-size
-La cantidad de elementos en la pila.
- |
-
Constructor and Description | -
---|
Pila()
-Inicializar.
- |
-
Modifier and Type | -Method and Description | -
---|---|
java.lang.String |
-getIndice(int indice)
-Devolver el valor que está en un indice de la pila.
- |
-
void |
-llenar()
-Llenar la pila con valores al azar.
- |
-
int |
-peek()
-Peek al valor que está encima de la pila.
- |
-
boolean |
-pop()
-Pop un valor de encima de la pila.
- |
-
void |
-push(int valor)
-Push un valor en la pila encima.
- |
-
int |
-size()
-Devolver la cantidad de elementos en la pila.
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private java.lang.String[] pila-
private int size-
public void push(int valor)-
valor
- int: El valor a push.public boolean pop()-
public int peek()-
public int size()-
public java.lang.String getIndice(int indice)-
indice
- int: El indice que desea devolver.public void llenar()-
public class PilaController
-extends java.lang.Object
-implements javafx.fxml.Initializable
-Modifier and Type | -Field and Description | -
---|---|
private javafx.scene.text.Text |
-codigoPila
-Donde va el codigo a mostrar a la pantalla.
- |
-
private javafx.scene.layout.VBox |
-contenidoPila
-Donde poner el contenido de array.
- |
-
private Grafico |
-grafico
-Grafico rectangulos.
- |
-
private Pila |
-pila
-La pila usado en la aplicación.
- |
-
private java.util.ResourceBundle |
-resourceBundle
-Donde está guardado los idiomas.
- |
-
private javafx.scene.Scene |
-scene
-La escena donde está cosas graficas.
- |
-
private TextFieldLimited |
-valorPila
-La caja para ingresar textos.
- |
-
Constructor and Description | -
---|
PilaController() |
-
Modifier and Type | -Method and Description | -
---|---|
protected void |
-botonLlenar()
-Llenar la pila con numeros al azar.
- |
-
protected void |
-botonPeek()
-Peek a ver si existe un elemento en la pila y mostrar el codigo en la pantalla
- Si existe un valor destacarlo.
- |
-
protected void |
-botonPop()
-Pop un valor de la pila si existe y mostrar el codigo en la pantalla.
- |
-
protected void |
-botonPush()
-Push un valor a la pila y mostrar el codigo en la pantalla.
- |
-
protected void |
-botonVaciar()
-Vaciar la pila de todos los valores.
- |
-
private void |
-generarGrafico()
-Poner los valores en el grafico.
- |
-
void |
-initialize(java.net.URL location,
- java.util.ResourceBundle resourceBundle)
-Inicializar todos los datos y dibujar las graficas.
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private TextFieldLimited valorPila-
private javafx.scene.layout.VBox contenidoPila-
private javafx.scene.text.Text codigoPila-
private javafx.scene.Scene scene-
private java.util.ResourceBundle resourceBundle-
private Pila pila-
private Grafico grafico-
public void initialize(java.net.URL location, - java.util.ResourceBundle resourceBundle)-
initialize
in interface javafx.fxml.Initializable
location
- URL: El URL de fxml en uso.resourceBundle
- ResourceBundle: Tiene datos de idioma.protected void botonLlenar()-
protected void botonVaciar()-
protected void botonPush()-
protected void botonPop()-
protected void botonPeek()-
private void generarGrafico()-
public class QuickController
-extends java.lang.Object
-implements javafx.fxml.Initializable
-Modifier and Type | -Field and Description | -
---|---|
private Array |
-array
-El array usado en la aplicación.
- |
-
private javafx.scene.text.Text |
-codigoQuick
-Donde va el codigo a mostrar a la pantalla.
- |
-
private javafx.scene.layout.HBox |
-contenidoQuick
-Donde poner el contenido de array.
- |
-
private java.util.ResourceBundle |
-resourceBundle
-Donde está guardado los idiomas.
- |
-
private javafx.scene.Scene |
-scene
-La escena donde está cosas graficas.
- |
-
Constructor and Description | -
---|
QuickController() |
-
Modifier and Type | -Method and Description | -
---|---|
protected void |
-botonCorrer()
-Ordenarlo completamente.
- |
-
protected void |
-botonNuevo()
-Crear un array nuevo.
- |
-
protected void |
-botonPaso()
-Ordenarlo paso por paso.
- |
-
private void |
-generarGrafico()
-Poner los valores en el grafico.
- |
-
void |
-initialize(java.net.URL location,
- java.util.ResourceBundle resourceBundle)
-Inicializar todos los datos y dibujar las graficas.
- |
-
private void |
-initializeScene()
-Crear el array de tamaño 10.
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private javafx.scene.layout.HBox contenidoQuick-
private javafx.scene.text.Text codigoQuick-
private javafx.scene.Scene scene-
private java.util.ResourceBundle resourceBundle-
private Array array-
public void initialize(java.net.URL location, - java.util.ResourceBundle resourceBundle)-
initialize
in interface javafx.fxml.Initializable
location
- URL: El URL de fxml en uso.resourceBundle
- ResourceBundle: Tiene datos de idioma.protected void botonNuevo()-
protected void botonPaso()-
protected void botonCorrer()-
private void initializeScene()-
private void generarGrafico()-
public class SeleccionController
-extends java.lang.Object
-implements javafx.fxml.Initializable
-Modifier and Type | -Field and Description | -
---|---|
private Array |
-array
-El array usado en la aplicación.
- |
-
private javafx.scene.text.Text |
-codigoSeleccion
-Donde va el codigo a mostrar a la pantalla.
- |
-
private javafx.scene.layout.HBox |
-contenidoSeleccion
-Donde poner el contenido de array.
- |
-
private java.util.ResourceBundle |
-resourceBundle
-Donde está guardado los idiomas.
- |
-
private javafx.scene.Scene |
-scene
-La escena donde está cosas graficas.
- |
-
Constructor and Description | -
---|
SeleccionController() |
-
Modifier and Type | -Method and Description | -
---|---|
protected void |
-botonCorrer()
-Ordenarlo completamente.
- |
-
protected void |
-botonNuevo()
-Crear un array nuevo.
- |
-
protected void |
-botonPaso()
-Ordenarlo paso por paso.
- |
-
private void |
-generarGrafico()
-Poner los valores en el grafico.
- |
-
void |
-initialize(java.net.URL location,
- java.util.ResourceBundle resourceBundle)
-Inicializar todos los datos y dibujar las graficas.
- |
-
private void |
-initializeScene()
-Crear el array de tamaño 10.
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private javafx.scene.layout.HBox contenidoSeleccion-
private javafx.scene.text.Text codigoSeleccion-
private javafx.scene.Scene scene-
private java.util.ResourceBundle resourceBundle-
private Array array-
public void initialize(java.net.URL location, - java.util.ResourceBundle resourceBundle)-
initialize
in interface javafx.fxml.Initializable
location
- URL: El URL de fxml en uso.resourceBundle
- ResourceBundle: Tiene datos de idioma.protected void botonNuevo()-
protected void botonPaso()-
protected void botonCorrer()-
private void initializeScene()-
private void generarGrafico()-
public class ShellController
-extends java.lang.Object
-implements javafx.fxml.Initializable
-Modifier and Type | -Field and Description | -
---|---|
private Array |
-array
-El array usado en la aplicación.
- |
-
private javafx.scene.text.Text |
-codigoShell
-Donde va el codigo a mostrar a la pantalla.
- |
-
private javafx.scene.layout.HBox |
-contenidoShell
-Donde poner el contenido de array.
- |
-
private java.util.ResourceBundle |
-resourceBundle
-Donde está guardado los idiomas.
- |
-
private javafx.scene.Scene |
-scene
-La escena donde está cosas graficas.
- |
-
Constructor and Description | -
---|
ShellController() |
-
Modifier and Type | -Method and Description | -
---|---|
protected void |
-botonCorrer()
-Ordenarlo completamente.
- |
-
protected void |
-botonNuevo()
-Crear un array nuevo.
- |
-
protected void |
-botonPaso()
-Ordenarlo paso por paso.
- |
-
private void |
-generarGrafico()
-Poner los valores en el grafico.
- |
-
void |
-initialize(java.net.URL location,
- java.util.ResourceBundle resourceBundle)
-Inicializar todos los datos y dibujar las graficas.
- |
-
private void |
-initializeScene()
-Crear el array de tamaño 10.
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private javafx.scene.layout.HBox contenidoShell-
private javafx.scene.text.Text codigoShell-
private javafx.scene.Scene scene-
private java.util.ResourceBundle resourceBundle-
private Array array-
public void initialize(java.net.URL location, - java.util.ResourceBundle resourceBundle)-
initialize
in interface javafx.fxml.Initializable
location
- URL: El URL de fxml en uso.resourceBundle
- ResourceBundle: Tiene datos de idioma.protected void botonNuevo()-
protected void botonPaso()-
protected void botonCorrer()-
private void initializeScene()-
private void generarGrafico()-
public class TablaHash
-extends java.lang.Object
-Modifier and Type | -Field and Description | -
---|---|
private HashItem[] |
-hashArray
-El array donde están todos los elementos de la tabla hash.
- |
-
private int |
-size
-Cantidad de elementos que están en la tabla hash.
- |
-
private int |
-tamano
-El tamaño maximo de la tabla hash.
- |
-
Constructor and Description | -
---|
TablaHash(int tamano)
-Inicilizar.
- |
-
Modifier and Type | -Method and Description | -
---|---|
HashItem |
-buscar(java.lang.String llave)
-Buscar una llave en la tabla hash.
- |
-
boolean |
-eliminar(java.lang.String llave)
-Eliminar un elemento de la tabla hash.
- |
-
HashItem |
-getIndice(int indice)
-Devolver el valor que está guardado en cada indice.
- |
-
int |
-hash(java.lang.String string)
-Este metodo crea un hash usando una llave.
- |
-
int |
-hashMejor(java.lang.String string)
-Este metodo crea un hash muy único.
- |
-
boolean |
-insertar(java.lang.String llave,
- int valor)
-Insertar una llave y valor en la tabla hash.
- |
-
int |
-size()
-Devolver la cantidad de elementos que están en la tabla.
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private final HashItem[] hashArray-
private final int tamano-
private int size-
public TablaHash(int tamano)-
tamano
- int: El tamaño maximo de la tabla hash.public int hashMejor(java.lang.String string)-
string
- String: El string a hashear.public int hash(java.lang.String string)-
string
- String: El string a hashear.public boolean insertar(java.lang.String llave, - int valor)-
llave
- String: La llave para identificar un elemento.valor
- int: El valor a insertar.public boolean eliminar(java.lang.String llave)-
llave
- String: La llave a elminar.public HashItem buscar(java.lang.String llave)-
llave
- String: La llave a buscar.public int size()-
public HashItem getIndice(int indice)-
indice
- int: El indice que desea ver.public class TablaHashController
-extends java.lang.Object
-implements javafx.fxml.Initializable
-Modifier and Type | -Field and Description | -
---|---|
private javafx.scene.text.Text |
-codigoHashTable
-Donde va el codigo a mostrar a la pantalla.
- |
-
private javafx.scene.layout.VBox |
-contenidoHashTable
-Donde poner el contenido de tablaHash.
- |
-
private Grafico |
-grafico
-Grafico rectangulos.
- |
-
private TextFieldLimited |
-llaveHashTable
-La caja para ingresar la llave.
- |
-
private java.util.ResourceBundle |
-resourceBundle
-Donde está guardado los idiomas.
- |
-
private javafx.scene.Scene |
-scene
-La escena donde está cosas graficas.
- |
-
private TablaHash |
-tablaHash
-El tablaHash usado en la aplicación.
- |
-
private TextFieldLimited |
-valorHashTable
-La caja para ingresar el valor.
- |
-
Constructor and Description | -
---|
TablaHashController() |
-
Modifier and Type | -Method and Description | -
---|---|
protected void |
-botonBuscar()
-Buscar si existe un elemento en el tablaHash y mostrar el codigo en la pantalla
- Si existe el valor destacarlo.
- |
-
protected void |
-botonEliminar()
-Eliminar un valor del tablaHash si existe y mostrar el codigo en la pantalla.
- |
-
protected void |
-botonInsertar()
-Insertar un valor al tablaHash y mostrar el codigo en la pantalla.
- |
-
protected void |
-botonLlenar()
-Llenar el tablaHash con numeros al azar.
- |
-
protected void |
-botonVaciar()
-Vaciar el tablaHash de todos los valores.
- |
-
private void |
-generarGrafico()
-Poner los valores en el grafico.
- |
-
void |
-initialize(java.net.URL location,
- java.util.ResourceBundle resourceBundle)
-Inicializar todos los datos y dibujar las graficas.
- |
-
private void |
-initializeHashTable()
-Crear el tablaHash de tamaño 10.
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private TextFieldLimited llaveHashTable-
private TextFieldLimited valorHashTable-
private javafx.scene.layout.VBox contenidoHashTable-
private javafx.scene.text.Text codigoHashTable-
private javafx.scene.Scene scene-
private java.util.ResourceBundle resourceBundle-
private TablaHash tablaHash-
private Grafico grafico-
public void initialize(java.net.URL location, - java.util.ResourceBundle resourceBundle)-
initialize
in interface javafx.fxml.Initializable
location
- URL: El URL de fxml en uso.resourceBundle
- ResourceBundle: Tiene datos de idioma.protected void botonLlenar()-
protected void botonVaciar()-
protected void botonInsertar()-
protected void botonEliminar()-
protected void botonBuscar()-
private void initializeHashTable()-
private void generarGrafico()-
private static class TextFieldLimited.StyleableProperties
-extends java.lang.Object
-Modifier and Type | -Field and Description | -
---|---|
private static javafx.css.CssMetaData<TextFieldLimited,java.lang.Number> |
-MAX_LENGTH |
-
private static java.util.List<javafx.css.CssMetaData<? extends javafx.css.Styleable,?>> |
-STYLEABLES |
-
Modifier | -Constructor and Description | -
---|---|
private |
-StyleableProperties() |
-
private static final javafx.css.CssMetaData<TextFieldLimited,java.lang.Number> MAX_LENGTH-
private static final java.util.List<javafx.css.CssMetaData<? extends javafx.css.Styleable,?>> STYLEABLES-
public class TextFieldLimited
-extends javafx.scene.control.TextField
-Type | -Property and Description | -
---|---|
javafx.beans.property.IntegerProperty |
-maxLength
-JavaFX FXML field property por tamaño maximo
- |
-
alignmentProperty, onActionProperty, prefColumnCountProperty
anchorProperty, caretPositionProperty, editableProperty, fontProperty, lengthProperty, promptTextProperty, redoableProperty, selectedTextProperty, selectionProperty, textFormatterProperty, textProperty, undoableProperty
contextMenuProperty, skinClassNameProperty, skinProperty, tooltipProperty
backgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, heightProperty, insetsProperty, maxHeightProperty, maxWidthProperty, minHeightProperty, minWidthProperty, opaqueInsetsProperty, paddingProperty, prefHeightProperty, prefWidthProperty, scaleShapeProperty, shapeProperty, snapToPixelProperty, widthProperty
impl_traversalEngineProperty, needsLayoutProperty
accessibleHelpProperty, accessibleRoleDescriptionProperty, accessibleRoleProperty, accessibleTextProperty, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, cacheHintProperty, cacheProperty, clipProperty, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectiveNodeOrientationProperty, effectProperty, eventDispatcherProperty, focusedProperty, focusTraversableProperty, hoverProperty, idProperty, impl_showMnemonicsProperty, impl_treeVisibleProperty, inputMethodRequestsProperty, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParentTransformProperty, localToSceneTransformProperty, managedProperty, mouseTransparentProperty, nodeOrientationProperty, onContextMenuRequestedProperty, onDragDetectedProperty, onDragDoneProperty, onDragDroppedProperty, onDragEnteredProperty, onDragExitedProperty, onDragOverProperty, onInputMethodTextChangedProperty, onKeyPressedProperty, onKeyReleasedProperty, onKeyTypedProperty, onMouseClickedProperty, onMouseDragEnteredProperty, onMouseDragExitedProperty, onMouseDraggedProperty, onMouseDragOverProperty, onMouseDragReleasedProperty, onMouseEnteredProperty, onMouseExitedProperty, onMouseMovedProperty, onMousePressedProperty, onMouseReleasedProperty, onRotateProperty, onRotationFinishedProperty, onRotationStartedProperty, onScrollFinishedProperty, onScrollProperty, onScrollStartedProperty, onSwipeDownProperty, onSwipeLeftProperty, onSwipeRightProperty, onSwipeUpProperty, onTouchMovedProperty, onTouchPressedProperty, onTouchReleasedProperty, onTouchStationaryProperty, onZoomFinishedProperty, onZoomProperty, onZoomStartedProperty, opacityProperty, parentProperty, pickOnBoundsProperty, pressedProperty, rotateProperty, rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, styleProperty, translateXProperty, translateYProperty, translateZProperty, visibleProperty
Modifier and Type | -Class and Description | -
---|---|
private static class |
-TextFieldLimited.StyleableProperties
-CSS por FXML con un maximo tamaño
- |
-
javafx.scene.control.TextInputControl.Content
Modifier and Type | -Field and Description | -
---|---|
private javafx.beans.property.IntegerProperty |
-maxLength
-La cantidad maxima de caracters permitidas en el TextFieldLimited
- |
-
DEFAULT_PREF_COLUMN_COUNT
USE_COMPUTED_SIZE, USE_PREF_SIZE
BASELINE_OFFSET_SAME_AS_HEIGHT
Constructor and Description | -
---|
TextFieldLimited()
-Llamar a TextField.
- |
-
Modifier and Type | -Method and Description | -
---|---|
static java.util.List<javafx.css.CssMetaData<? extends javafx.css.Styleable,?>> |
-getClassCssMetaData()
-Lista de estilos aplicable.
- |
-
int |
-getMaxLength()
-Devolver la cantidad maxima si está asignado.
- |
-
javafx.beans.property.IntegerProperty |
-maxLengthProperty()
-JavaFX FXML field property por tamaño maximo
- |
-
void |
-replaceSelection(java.lang.String text)
-Reemplazar un selección de texto.
- |
-
void |
-replaceText(int start,
- int end,
- java.lang.String text)
-Reemplazar el texto basado en cambios de teclado, no deja ingresar mas text si length es mayor al maximo.
- |
-
void |
-setMaxLength(int value)
-Asignar un valor maximo de caracters permitidio en el TextFieldLimited.
- |
-
alignmentProperty, createDefaultSkin, getAlignment, getCharacters, getControlCssMetaData, getOnAction, getPrefColumnCount, onActionProperty, prefColumnCountProperty, setAlignment, setOnAction, setPrefColumnCount
anchorProperty, appendText, backward, cancelEdit, caretPositionProperty, clear, commitValue, copy, cut, deleteNextChar, deletePreviousChar, deleteText, deleteText, deselect, editableProperty, end, endOfNextWord, executeAccessibleAction, extendSelection, fontProperty, forward, getAnchor, getCaretPosition, getContent, getFont, getLength, getPromptText, getSelectedText, getSelection, getText, getText, getTextFormatter, home, insertText, isEditable, isRedoable, isUndoable, lengthProperty, nextWord, paste, positionCaret, previousWord, promptTextProperty, queryAccessibleAttribute, redo, redoableProperty, replaceText, selectAll, selectBackward, selectedTextProperty, selectEnd, selectEndOfNextWord, selectForward, selectHome, selectionProperty, selectNextWord, selectPositionCaret, selectPreviousWord, selectRange, setEditable, setFont, setPromptText, setText, setTextFormatter, textFormatterProperty, textProperty, undo, undoableProperty
computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, contextMenuProperty, getBaselineOffset, getContextMenu, getCssMetaData, getSkin, getTooltip, impl_cssGetFocusTraversableInitialValue, impl_processCSS, isResizable, layoutChildren, setContextMenu, setSkin, setTooltip, skinClassNameProperty, skinProperty, tooltipProperty
backgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, getBackground, getBorder, getHeight, getInsets, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOpaqueInsets, getPadding, getPrefHeight, getPrefWidth, getShape, getUserAgentStylesheet, getWidth, heightProperty, impl_computeContains, impl_computeGeomBounds, impl_computeLayoutBounds, impl_createPeer, impl_notifyLayoutBoundsChanged, impl_pickNodeLocal, impl_updatePeer, insetsProperty, isCacheShape, isCenterShape, isScaleShape, isSnapToPixel, layoutInArea, layoutInArea, layoutInArea, layoutInArea, maxHeight, maxHeightProperty, maxWidth, maxWidthProperty, minHeight, minHeightProperty, minWidth, minWidthProperty, opaqueInsetsProperty, paddingProperty, positionInArea, positionInArea, prefHeight, prefHeightProperty, prefWidth, prefWidthProperty, resize, scaleShapeProperty, setBackground, setBorder, setCacheShape, setCenterShape, setHeight, setMaxHeight, setMaxSize, setMaxWidth, setMinHeight, setMinSize, setMinWidth, setOpaqueInsets, setPadding, setPrefHeight, setPrefSize, setPrefWidth, setScaleShape, setShape, setSnapToPixel, setWidth, shapeProperty, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapSize, snapSpace, snapToPixelProperty, widthProperty
getChildren, getChildrenUnmodifiable, getImpl_traversalEngine, getManagedChildren, getStylesheets, impl_getAllParentStylesheets, impl_processMXNode, impl_traversalEngineProperty, isNeedsLayout, layout, lookup, needsLayoutProperty, requestLayout, requestParentLayout, setImpl_traversalEngine, setNeedsLayout, updateBounds
accessibleHelpProperty, accessibleRoleDescriptionProperty, accessibleRoleProperty, accessibleTextProperty, addEventFilter, addEventHandler, applyCss, autosize, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, computeAreaInScreen, contains, contains, containsBounds, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectiveNodeOrientationProperty, effectProperty, eventDispatcherProperty, fireEvent, focusedProperty, focusTraversableProperty, getAccessibleHelp, getAccessibleRole, getAccessibleRoleDescription, getAccessibleText, getBlendMode, getBoundsInLocal, getBoundsInParent, getCacheHint, getClip, getContentBias, getCursor, getDepthTest, getEffect, getEffectiveNodeOrientation, getEventDispatcher, getId, getInputMethodRequests, getLayoutBounds, getLayoutX, getLayoutY, getLocalToParentTransform, getLocalToSceneTransform, getNodeOrientation, getOnContextMenuRequested, getOnDragDetected, getOnDragDone, getOnDragDropped, getOnDragEntered, getOnDragExited, getOnDragOver, getOnInputMethodTextChanged, getOnKeyPressed, getOnKeyReleased, getOnKeyTyped, getOnMouseClicked, getOnMouseDragEntered, getOnMouseDragExited, getOnMouseDragged, getOnMouseDragOver, getOnMouseDragReleased, getOnMouseEntered, getOnMouseExited, getOnMouseMoved, getOnMousePressed, getOnMouseReleased, getOnRotate, getOnRotationFinished, getOnRotationStarted, getOnScroll, getOnScrollFinished, getOnScrollStarted, getOnSwipeDown, getOnSwipeLeft, getOnSwipeRight, getOnSwipeUp, getOnTouchMoved, getOnTouchPressed, getOnTouchReleased, getOnTouchStationary, getOnZoom, getOnZoomFinished, getOnZoomStarted, getOpacity, getParent, getProperties, getPseudoClassStates, getRotate, getRotationAxis, getScaleX, getScaleY, getScaleZ, getScene, getStyle, getStyleableParent, getStyleClass, getTransforms, getTranslateX, getTranslateY, getTranslateZ, getTypeSelector, getUserData, hasProperties, hoverProperty, idProperty, impl_clearDirty, impl_computeIntersects, impl_cssGetCursorInitialValue, impl_findStyles, impl_geomChanged, impl_getLeafTransform, impl_getMatchingStyles, impl_getPeer, impl_getPivotX, impl_getPivotY, impl_getPivotZ, impl_getStyleMap, impl_hasTransforms, impl_intersects, impl_intersectsBounds, impl_isDirty, impl_isDirtyEmpty, impl_isShowMnemonics, impl_isTreeVisible, impl_layoutBoundsChanged, impl_markDirty, impl_pickNode, impl_processCSS, impl_reapplyCSS, impl_setShowMnemonics, impl_setStyleMap, impl_showMnemonicsProperty, impl_syncPeer, impl_transformsChanged, impl_traverse, impl_treeVisibleProperty, inputMethodRequestsProperty, intersects, intersects, isCache, isDisable, isDisabled, isFocused, isFocusTraversable, isHover, isManaged, isMouseTransparent, isPickOnBounds, isPressed, isVisible, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParent, localToParent, localToParent, localToParent, localToParent, localToParentTransformProperty, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToSceneTransformProperty, localToScreen, localToScreen, localToScreen, localToScreen, localToScreen, lookupAll, managedProperty, mouseTransparentProperty, nodeOrientationProperty, notifyAccessibleAttributeChanged, onContextMenuRequestedProperty, onDragDetectedProperty, onDragDoneProperty, onDragDroppedProperty, onDragEnteredProperty, onDragExitedProperty, onDragOverProperty, onInputMethodTextChangedProperty, onKeyPressedProperty, onKeyReleasedProperty, onKeyTypedProperty, onMouseClickedProperty, onMouseDragEnteredProperty, onMouseDragExitedProperty, onMouseDraggedProperty, onMouseDragOverProperty, onMouseDragReleasedProperty, onMouseEnteredProperty, onMouseExitedProperty, onMouseMovedProperty, onMousePressedProperty, onMouseReleasedProperty, onRotateProperty, onRotationFinishedProperty, onRotationStartedProperty, onScrollFinishedProperty, onScrollProperty, onScrollStartedProperty, onSwipeDownProperty, onSwipeLeftProperty, onSwipeRightProperty, onSwipeUpProperty, onTouchMovedProperty, onTouchPressedProperty, onTouchReleasedProperty, onTouchStationaryProperty, onZoomFinishedProperty, onZoomProperty, onZoomStartedProperty, opacityProperty, parentProperty, parentToLocal, parentToLocal, parentToLocal, parentToLocal, parentToLocal, pickOnBoundsProperty, pressedProperty, pseudoClassStateChanged, relocate, removeEventFilter, removeEventHandler, requestFocus, resizeRelocate, rotateProperty, rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, screenToLocal, screenToLocal, screenToLocal, setAccessibleHelp, setAccessibleRole, setAccessibleRoleDescription, setAccessibleText, setBlendMode, setCache, setCacheHint, setClip, setCursor, setDepthTest, setDisable, setDisabled, setEffect, setEventDispatcher, setEventHandler, setFocused, setFocusTraversable, setHover, setId, setInputMethodRequests, setLayoutX, setLayoutY, setManaged, setMouseTransparent, setNodeOrientation, setOnContextMenuRequested, setOnDragDetected, setOnDragDone, setOnDragDropped, setOnDragEntered, setOnDragExited, setOnDragOver, setOnInputMethodTextChanged, setOnKeyPressed, setOnKeyReleased, setOnKeyTyped, setOnMouseClicked, setOnMouseDragEntered, setOnMouseDragExited, setOnMouseDragged, setOnMouseDragOver, setOnMouseDragReleased, setOnMouseEntered, setOnMouseExited, setOnMouseMoved, setOnMousePressed, setOnMouseReleased, setOnRotate, setOnRotationFinished, setOnRotationStarted, setOnScroll, setOnScrollFinished, setOnScrollStarted, setOnSwipeDown, setOnSwipeLeft, setOnSwipeRight, setOnSwipeUp, setOnTouchMoved, setOnTouchPressed, setOnTouchReleased, setOnTouchStationary, setOnZoom, setOnZoomFinished, setOnZoomStarted, setOpacity, setPickOnBounds, setPressed, setRotate, setRotationAxis, setScaleX, setScaleY, setScaleZ, setStyle, setTranslateX, setTranslateY, setTranslateZ, setUserData, setVisible, snapshot, snapshot, startDragAndDrop, startFullDrag, styleProperty, toBack, toFront, toString, translateXProperty, translateYProperty, translateZProperty, usesMirroring, visibleProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public final javafx.beans.property.IntegerProperty maxLengthProperty-
private javafx.beans.property.IntegerProperty maxLength-
public TextFieldLimited()-
public static java.util.List<javafx.css.CssMetaData<? extends javafx.css.Styleable,?>> getClassCssMetaData()-
public void replaceText(int start, - int end, - java.lang.String text)-
replaceText
in class javafx.scene.control.TextInputControl
start
- int: Donde empece el cambio.end
- int: Donde termina.text
- String: Texto a cambiar.public void replaceSelection(java.lang.String text)-
replaceSelection
in class javafx.scene.control.TextInputControl
text
- String: El texto a reemplazar.public final int getMaxLength()-
public final void setMaxLength(int value)-
value
- int: La cantidad maxima.public final javafx.beans.property.IntegerProperty maxLengthProperty()-
Modifier and Type | -Method and Description | -
---|---|
static Arbol.PrimerLado |
-Arbol.PrimerLado.valueOf(java.lang.String name)
-Returns the enum constant of this type with the specified name.
- |
-
static Arbol.PrimerLado[] |
-Arbol.PrimerLado.values()
-Returns an array containing the constants of this enum type, in
-the order they are declared.
- |
-
Modifier and Type | -Field and Description | -
---|---|
(package private) Arbol.Tipos |
-ArbolController.arbolTipo
-El tipo de arbol actual.
- |
-
Modifier and Type | -Field and Description | -
---|---|
private Arbol |
-ArbolController.arbol
-El arbol usado en la aplicación.
- |
-
Modifier and Type | -Field and Description | -
---|---|
private ArbolNodo.Desde |
-ArbolNodo.desde |
-
Modifier and Type | -Method and Description | -
---|---|
ArbolNodo.Desde |
-ArbolNodo.getDesde() |
-
static ArbolNodo.Desde |
-ArbolNodo.Desde.valueOf(java.lang.String name)
-Returns the enum constant of this type with the specified name.
- |
-
static ArbolNodo.Desde[] |
-ArbolNodo.Desde.values()
-Returns an array containing the constants of this enum type, in
-the order they are declared.
- |
-
Modifier and Type | -Method and Description | -
---|---|
void |
-ArbolNodo.setDesde(ArbolNodo.Desde desde) |
-
Modifier and Type | -Field and Description | -
---|---|
private ArbolNodo |
-Arbol.arbol
-El arbol.
- |
-
private ArbolNodo |
-ArbolNodo.derecha
-El hijo a la derecha.
- |
-
private ArbolNodo |
-ArbolNodo.izquerda
-El hijo a la izquerda.
- |
-
private ArbolNodo |
-ArbolNodo.padre
-El padre del nodo.
- |
-
Modifier and Type | -Field and Description | -
---|---|
private java.util.List<java.util.List<ArbolNodo>> |
-Arbol.niveles
-Los nivles del arbol con todos sus nodos.
- |
-
private java.util.List<ArbolNodo> |
-Arbol.order
-El orden que ha sido usado.
- |
-
Modifier and Type | -Method and Description | -
---|---|
ArbolNodo |
-Arbol.getArbol()
-Devolver el arbol.
- |
-
ArbolNodo |
-ArbolNodo.getDerecha()
-Devolver el hijo derecho.
- |
-
ArbolNodo |
-ArbolNodo.getIzquerda()
-Devolver el hijo izquerdo.
- |
-
ArbolNodo |
-ArbolNodo.getPadre()
-Devolver el padre.
- |
-
Modifier and Type | -Method and Description | -
---|---|
java.util.List<java.util.List<ArbolNodo>> |
-Arbol.getNiveles()
-Devolver la lista de nivles del arbol.
- |
-
java.util.List<ArbolNodo> |
-Arbol.inOrder()
-Ordenar el arbol usando inOrder.
- |
-
java.util.List<ArbolNodo> |
-Arbol.postOrder()
-Ordenar el arbol usando postOrder.
- |
-
java.util.List<ArbolNodo> |
-Arbol.preOrder()
-Ordenar el arbol usando preOrder.
- |
-
Modifier and Type | -Method and Description | -
---|---|
int |
-Arbol.calcularAltura(ArbolNodo nodo)
-Encontrar y devolver la altura del arbol usando recursividad.
- |
-
void |
-Arbol.calcularNiveles(ArbolNodo nodo,
- int nivel)
-Calcular los nivles del arbol usando recursividad.
- |
-
void |
-Arbol.inOrder(ArbolNodo nodo)
-El meteodo recursivo de inOrder que acumulará los nodos en una lista.
- |
-
void |
-Arbol.postOrder(ArbolNodo nodo)
-El meteodo recursivo de postOrder que acumulará los nodos en una lista.
- |
-
void |
-Arbol.preOrder(ArbolNodo nodo)
-El meteodo recursivo de preOrder que acumulará los nodos en una lista.
- |
-
void |
-ArbolNodo.setDerecha(ArbolNodo derecha)
-Cambiar el hijo derecho.
- |
-
void |
-ArbolNodo.setIzquerda(ArbolNodo izquerda)
-Devolver el hijo izquerdo.
- |
-
void |
-ArbolNodo.setPadre(ArbolNodo padre)
-Cambiar padre.
- |
-
Modifier and Type | -Method and Description | -
---|---|
private Array.ParticionarResult |
-Array.particionar(int izquerda,
- int derecha,
- java.lang.String pivot)
-Particionar el array desded la izquerda y derecho usando un pivot.
- |
-
Modifier and Type | -Field and Description | -
---|---|
private Array |
-ShellController.array
-El array usado en la aplicación.
- |
-
private Array |
-InsercionController.array
-El array usado en la aplicación.
- |
-
private Array |
-QuickController.array
-El array usado en la aplicación.
- |
-
private Array |
-BurbujaController.array
-El array usado en la aplicación.
- |
-
private Array |
-ArrayController.array
-El array usado en la aplicación.
- |
-
private Array |
-SeleccionController.array
-El array usado en la aplicación.
- |
-
private Array |
-MergeController.array
-El array usado en la aplicación.
- |
-
Modifier and Type | -Field and Description | -
---|---|
private Cola |
-ColaController.cola
-La cola usado en la aplicación.
- |
-
Modifier and Type | -Field and Description | -
---|---|
private Colores |
-ListaEnlazdaController.colores
-Colores por los dibjos.
- |
-
Modifier and Type | -Method and Description | -
---|---|
static javafx.scene.layout.StackPane |
-Grafico.crearCaja(Colores colores,
- java.lang.String label)
-Crear un rectangulo.
- |
-
static javafx.scene.layout.StackPane |
-Grafico.crearCaja(Colores colores,
- java.lang.String label,
- java.lang.String texto)
-Crear un rectangulo con texto adentro.
- |
-
static javafx.scene.layout.StackPane |
-Grafico.crearCirculo(Colores colores,
- java.lang.String label) |
-
static javafx.scene.layout.StackPane |
-Grafico.crearHashCajas(Colores colores,
- java.lang.String label)
-Crear 3 rectangulos.
- |
-
Modifier and Type | -Class and Description | -
---|---|
class |
-EnlaceCircular
-Esta clase es de tipo de listaEnlace circular.
- |
-
class |
-EnlaceNormal
-Esta clase es de tipo de listaEnlace normal.
- |
-
Modifier and Type | -Field and Description | -
---|---|
private Enlace |
-ListaEnlazada.lista
-El listaEnlace principal de la lista.
- |
-
private Enlace |
-ListaEnlazadaCircular.primer
-El primer listaEnlace.
- |
-
private Enlace |
-ListaEnlazadaCircular.ultimo
-El ultimo listaEnlace.
- |
-
Modifier and Type | -Method and Description | -
---|---|
Enlace |
-ListaEnlazadaCircular.buscar(int llave)
-Buscar una llave en la lista.
- |
-
Enlace |
-ListaEnlazada.buscar(int llave)
-Buscar una llave en la lista.
- |
-
Enlace |
-ListaEnlazadaCircular.getIndice(int indice)
-Devolver un listaEnlace con su llave y valor.
- |
-
Enlace |
-ListaEnlazada.getIndice(int indice)
-Devolver un listaEnlace con su llave y valor.
- |
-
Modifier and Type | -Method and Description | -
---|---|
private void |
-ListaEnlazdaController.dibujarDoble(Enlace listaEnlace,
- boolean primer)
-Dibujarlo con dos flechas.
- |
-
private void |
-ListaEnlazdaController.dibujarSimple(Enlace listaEnlace,
- boolean sinFlecha)
-Dibujarlo con una flecha.
- |
-
Modifier and Type | -Field and Description | -
---|---|
private EnlaceCircular |
-EnlaceCircular.siguiente
-El siguiente listaEnlace.
- |
-
Modifier and Type | -Method and Description | -
---|---|
EnlaceCircular |
-EnlaceCircular.getPrevio()
-Devolver el listaEnlace previo.
- |
-
EnlaceCircular |
-EnlaceCircular.getSiguiente()
-Devolver el siguiente listaEnlace.
- |
-
Modifier and Type | -Field and Description | -
---|---|
private EnlaceNormal |
-EnlaceNormal.previo
-El listaEnlace previo por doble enlazada.
- |
-
private EnlaceNormal |
-EnlaceNormal.siguiente
-El siguiente listaEnlace.
- |
-
Modifier and Type | -Method and Description | -
---|---|
EnlaceNormal |
-EnlaceNormal.getPrevio()
-Devolver el listaEnlace previo.
- |
-
EnlaceNormal |
-EnlaceNormal.getSiguiente()
-Devolver el siguiente listaEnlace.
- |
-
Modifier and Type | -Field and Description | -
---|---|
private java.util.List<Grafico.Destacados> |
-Grafico.destacados
-Los elementos destacados.
- |
-
Modifier and Type | -Field and Description | -
---|---|
private Grafico |
-ColaController.grafico
-Grafico rectangulos.
- |
-
private Grafico |
-GrafoController.grafico
-Grafico rectangulos.
- |
-
private Grafico |
-ArrayController.grafico
-Grafico rectangulos.
- |
-
private Grafico |
-ListaEnlazdaController.grafico
-Grafico rectangulos y lineas.
- |
-
private Grafico |
-TablaHashController.grafico
-Grafico rectangulos.
- |
-
private Grafico |
-PilaController.grafico
-Grafico rectangulos.
- |
-
Modifier and Type | -Method and Description | -
---|---|
void |
-Grafo.Dirigido.dfsSpanningTree(Grafo.Vertex<T> v,
- Grafo.DFSVisitor<T> visitor)
-Find the spanning tree using a DFS starting from v.
- |
-
Modifier and Type | -Field and Description | -
---|---|
private Grafo.Dirigido<GrafoNodo> |
-GrafoController.dirigido
-El grafoNoDirigido dirigido usado en la aplicación.
- |
-
Modifier and Type | -Method and Description | -
---|---|
void |
-Grafo.Visitor.visit(Grafo.Dirigido<T> g,
- Grafo.Vertex<T> v)
-Called by the graph traversal methods when a vertex is first visited.
- |
-
void |
-Grafo.VisitorEX.visit(Grafo.Dirigido<T> g,
- Grafo.Vertex<T> v)
-Called by the graph traversal methods when a vertex is first visited.
- |
-
void |
-Grafo.DFSVisitor.visit(Grafo.Dirigido<T> g,
- Grafo.Vertex<T> v)
-Called by the graph traversal methods when a vertex is first visited.
- |
-
void |
-Grafo.DFSVisitor.visit(Grafo.Dirigido<T> g,
- Grafo.Vertex<T> v,
- Grafo.Edge<T> e)
-Used dfsSpanningTree to notify the visitor of each outgoing edge to an
- unvisited vertex.
- |
-
Modifier and Type | -Field and Description | -
---|---|
private java.util.List<Grafo.Edge<T>> |
-Grafo.Dirigido.edges
-Vector of edges in the graph
- |
-
private java.util.List<Grafo.Edge<T>> |
-Grafo.Vertex.incomingEdges |
-
private java.util.List<Grafo.Edge<T>> |
-Grafo.Vertex.outgoingEdges |
-
Modifier and Type | -Method and Description | -
---|---|
Grafo.Edge<T>[] |
-Grafo.Dirigido.findCycles()
-Search the graph for cycles.
- |
-
Grafo.Edge<T> |
-Grafo.Vertex.findEdge(Grafo.Edge<T> e)
-Search the outgoing edges for a match to e.
- |
-
Grafo.Edge<T> |
-Grafo.Vertex.findEdge(Grafo.Vertex<T> dest)
-Search the outgoing edges looking for an edge whose's edge.to == dest.
- |
-
Grafo.Edge<T> |
-Grafo.Vertex.getIncomingEdge(int i)
-Get the ith incoming edge
- |
-
Grafo.Edge<T> |
-Grafo.Vertex.getOutgoingEdge(int i)
-Get the ith outgoing edge
- |
-
Modifier and Type | -Method and Description | -
---|---|
java.util.List<Grafo.Edge<T>> |
-Grafo.Dirigido.getEdges()
-Get the graph edges
- |
-
Modifier and Type | -Method and Description | -
---|---|
boolean |
-Grafo.Vertex.addEdge(Grafo.Edge<T> e)
-Add an edge to the vertex.
- |
-
Grafo.Edge<T> |
-Grafo.Vertex.findEdge(Grafo.Edge<T> e)
-Search the outgoing edges for a match to e.
- |
-
boolean |
-Grafo.Vertex.hasEdge(Grafo.Edge<T> e)
-Check the vertex for either an incoming or outgoing edge mathcing e.
- |
-
boolean |
-Grafo.Vertex.remove(Grafo.Edge<T> e)
-Remove an edge from this vertex
- |
-
void |
-Grafo.DFSVisitor.visit(Grafo.Dirigido<T> g,
- Grafo.Vertex<T> v,
- Grafo.Edge<T> e)
-Used dfsSpanningTree to notify the visitor of each outgoing edge to an
- unvisited vertex.
- |
-
Modifier and Type | -Method and Description | -
---|---|
private void |
-Grafo.Dirigido.visit(Grafo.Vertex<T> v,
- java.util.ArrayList<Grafo.Edge<T>> cycleEdges) |
-
Modifier and Type | -Field and Description | -
---|---|
private Grafo.NoDirigido<GrafoNodo> |
-GrafoController.noDirigido
-El grafoNoDirigido no dirigido usado en la aplicación.
- |
-
Modifier and Type | -Field and Description | -
---|---|
private Grafo.Tipos |
-GrafoController.grafoTipos
-Tipo de grafoNoDirigido.
- |
-
Modifier and Type | -Field and Description | -
---|---|
private Grafo.Vertex<T> |
-Grafo.Edge.from |
-
private Grafo.Vertex<T> |
-Grafo.Dirigido.rootVertex
-The vertex identified as the root of the graph
- |
-
private Grafo.Vertex<T> |
-Grafo.Edge.to |
-
Modifier and Type | -Field and Description | -
---|---|
private java.util.List<Grafo.Vertex<T>> |
-Grafo.Dirigido.verticies
-Vector of graph verticies
- |
-
Modifier and Type | -Method and Description | -
---|---|
Grafo.Vertex<T> |
-Grafo.Dirigido.findVertexByData(T data,
- java.util.Comparator<T> compare)
-Search the verticies for one with data.
- |
-
Grafo.Vertex<T> |
-Grafo.Dirigido.findVertexByName(java.lang.String name)
-Search the verticies for one with name.
- |
-
Grafo.Vertex<T> |
-Grafo.Edge.getFrom()
-Get the starting vertex
- |
-
Grafo.Vertex<T> |
-Grafo.Dirigido.getRootVertex()
-Get the root vertex
- |
-
Grafo.Vertex<T> |
-Grafo.Edge.getTo()
-Get the ending vertex
- |
-
Grafo.Vertex<T> |
-Grafo.Dirigido.getVertex(int n)
-Get the given Vertex.
- |
-
Modifier and Type | -Method and Description | -
---|---|
java.util.List<Grafo.Vertex<T>> |
-Grafo.Dirigido.getVerticies()
-Get the graph verticies
- |
-
Modifier and Type | -Method and Description | -
---|---|
boolean |
-Grafo.Dirigido.addEdge(Grafo.Vertex<T> from,
- Grafo.Vertex<T> to,
- int cost)
-Insert a directed, weighted Edge into the graph.
- |
-
boolean |
-Grafo.Dirigido.addEdge(Grafo.Vertex<T> from,
- Grafo.Vertex<T> to,
- int cost)
-Insert a directed, weighted Edge into the graph.
- |
-
void |
-Grafo.Vertex.addIncomingEdge(Grafo.Vertex<T> from,
- int cost)
-Add an incoming edge starting at from
- |
-
void |
-Grafo.Vertex.addOutgoingEdge(Grafo.Vertex<T> to,
- int cost)
-Add an outgoing edge ending at to.
- |
-
boolean |
-Grafo.Dirigido.addVertex(Grafo.Vertex<T> v)
-Add a vertex to the graph
- |
-
void |
-Grafo.Dirigido.breadthFirstSearch(Grafo.Vertex<T> v,
- Grafo.Visitor<T> visitor)
-Perform a breadth first search of this graph, starting at v.
- |
-
<E extends java.lang.Exception> |
-Grafo.Dirigido.breadthFirstSearch(Grafo.Vertex<T> v,
- Grafo.VisitorEX<T,E> visitor)
-Perform a breadth first search of this graph, starting at v.
- |
-
int |
-Grafo.Vertex.cost(Grafo.Vertex<T> dest)
-What is the cost from this vertext to the dest vertex.
- |
-
<E extends java.lang.Exception> |
-Grafo.Dirigido.depthFirstSearch(Grafo.Vertex<T> v,
- Grafo.VisitorEX<T,E> visitor)
-Perform a depth first serach using recursion.
- |
-
void |
-Grafo.Dirigido.dfsSpanningTree(Grafo.Vertex<T> v,
- Grafo.DFSVisitor<T> visitor)
-Find the spanning tree using a DFS starting from v.
- |
-
Grafo.Edge<T> |
-Grafo.Vertex.findEdge(Grafo.Vertex<T> dest)
-Search the outgoing edges looking for an edge whose's edge.to == dest.
- |
-
boolean |
-Grafo.Vertex.hasEdge(Grafo.Vertex<T> dest)
-Is there an outgoing edge ending at dest.
- |
-
boolean |
-Grafo.Dirigido.insertBiEdge(Grafo.Vertex<T> from,
- Grafo.Vertex<T> to,
- int cost)
-Insert a bidirectional Edge in the graph
- |
-
boolean |
-Grafo.Dirigido.insertBiEdge(Grafo.Vertex<T> from,
- Grafo.Vertex<T> to,
- int cost)
-Insert a bidirectional Edge in the graph
- |
-
boolean |
-Grafo.Dirigido.removeEdge(Grafo.Vertex<T> from,
- Grafo.Vertex<T> to)
-Remove an Edge from the graph
- |
-
boolean |
-Grafo.Dirigido.removeEdge(Grafo.Vertex<T> from,
- Grafo.Vertex<T> to)
-Remove an Edge from the graph
- |
-
boolean |
-Grafo.Dirigido.removeVertex(Grafo.Vertex<T> v)
-Remove a vertex from the graph
- |
-
void |
-Grafo.Dirigido.setRootVertex(Grafo.Vertex<T> root)
-Set a root vertex.
- |
-
void |
-Grafo.Visitor.visit(Grafo.Dirigido<T> g,
- Grafo.Vertex<T> v)
-Called by the graph traversal methods when a vertex is first visited.
- |
-
void |
-Grafo.VisitorEX.visit(Grafo.Dirigido<T> g,
- Grafo.Vertex<T> v)
-Called by the graph traversal methods when a vertex is first visited.
- |
-
void |
-Grafo.DFSVisitor.visit(Grafo.Dirigido<T> g,
- Grafo.Vertex<T> v)
-Called by the graph traversal methods when a vertex is first visited.
- |
-
void |
-Grafo.DFSVisitor.visit(Grafo.Dirigido<T> g,
- Grafo.Vertex<T> v,
- Grafo.Edge<T> e)
-Used dfsSpanningTree to notify the visitor of each outgoing edge to an
- unvisited vertex.
- |
-
private void |
-Grafo.Dirigido.visit(Grafo.Vertex<T> v,
- java.util.ArrayList<Grafo.Edge<T>> cycleEdges) |
-
Constructor and Description | -
---|
Edge(Grafo.Vertex<T> from,
- Grafo.Vertex<T> to)
-Create a zero cost edge between from and to
- |
-
Edge(Grafo.Vertex<T> from,
- Grafo.Vertex<T> to)
-Create a zero cost edge between from and to
- |
-
Edge(Grafo.Vertex<T> from,
- Grafo.Vertex<T> to,
- int cost)
-Create an edge between from and to with the given cost.
- |
-
Edge(Grafo.Vertex<T> from,
- Grafo.Vertex<T> to,
- int cost)
-Create an edge between from and to with the given cost.
- |
-
Modifier and Type | -Method and Description | -
---|---|
void |
-Grafo.Dirigido.breadthFirstSearch(Grafo.Vertex<T> v,
- Grafo.Visitor<T> visitor)
-Perform a breadth first search of this graph, starting at v.
- |
-
Modifier and Type | -Method and Description | -
---|---|
<E extends java.lang.Exception> |
-Grafo.Dirigido.breadthFirstSearch(Grafo.Vertex<T> v,
- Grafo.VisitorEX<T,E> visitor)
-Perform a breadth first search of this graph, starting at v.
- |
-
<E extends java.lang.Exception> |
-Grafo.Dirigido.depthFirstSearch(Grafo.Vertex<T> v,
- Grafo.VisitorEX<T,E> visitor)
-Perform a depth first serach using recursion.
- |
-
Modifier and Type | -Field and Description | -
---|---|
private GrafoNodo[] |
-GrafoController.grafoNodos
-Nodos.
- |
-
Modifier and Type | -Field and Description | -
---|---|
private Grafo.Dirigido<GrafoNodo> |
-GrafoController.dirigido
-El grafoNoDirigido dirigido usado en la aplicación.
- |
-
private Grafo.NoDirigido<GrafoNodo> |
-GrafoController.noDirigido
-El grafoNoDirigido no dirigido usado en la aplicación.
- |
-
Modifier and Type | -Method and Description | -
---|---|
private GrafoNodo[] |
-GrafoController.getNodosEdge()
-Devolver los nodos que existen.
- |
-
Modifier and Type | -Method and Description | -
---|---|
private boolean |
-GrafoController.edgeExists(GrafoNodo nodo1,
- GrafoNodo nodo2)
-Buscar un grafoNoDirigido dirigido para ver si existe en edge entre los nodos.
- |
-
Modifier and Type | -Field and Description | -
---|---|
private HashItem[] |
-TablaHash.hashArray
-El array donde están todos los elementos de la tabla hash.
- |
-
Modifier and Type | -Method and Description | -
---|---|
HashItem |
-TablaHash.buscar(java.lang.String llave)
-Buscar una llave en la tabla hash.
- |
-
HashItem |
-TablaHash.getIndice(int indice)
-Devolver el valor que está guardado en cada indice.
- |
-
Modifier and Type | -Field and Description | -
---|---|
private HashTable |
-HashTableController.hashTable
-El hashTable usado en la aplicación.
- |
-
Modifier and Type | -Class and Description | -
---|---|
class |
-ListaEnlaceCircular
-Esta clase es de tipo de enlace circular.
- |
-
class |
-ListaEnlaceNormal
-Esta clase es de tipo de enlace normal.
- |
-
Modifier and Type | -Field and Description | -
---|---|
private ListaEnlace |
-ListaEnlazada.lista
-El enlace principal de la lista.
- |
-
private ListaEnlace |
-ListaEnlazadaCircular.primer
-El primer enlace.
- |
-
private ListaEnlace |
-ListaEnlazadaCircular.ultimo
-El ultimo enlace.
- |
-
Modifier and Type | -Method and Description | -
---|---|
ListaEnlace |
-ListaEnlazadaCircular.buscar(int llave)
-Buscar una llave en la lista.
- |
-
ListaEnlace |
-ListaEnlazada.buscar(int llave)
-Buscar una llave en la lista.
- |
-
ListaEnlace |
-ListaEnlazadaCircular.getIndice(int indice)
-Devolver un enlace con su llave y valor.
- |
-
ListaEnlace |
-ListaEnlazada.getIndice(int indice)
-Devolver un enlace con su llave y valor.
- |
-
Modifier and Type | -Method and Description | -
---|---|
private void |
-ListaEnlazdaController.dibujarDoble(ListaEnlace listaEnlace,
- boolean primer)
-Dibujarlo con dos flechas.
- |
-
private void |
-ListaEnlazdaController.dibujarSimple(ListaEnlace listaEnlace,
- boolean sinFlecha)
-Dibujarlo con una flecha.
- |
-
Modifier and Type | -Field and Description | -
---|---|
private ListaEnlaceCircular |
-ListaEnlaceCircular.siguiente
-El siguiente enlace.
- |
-
Modifier and Type | -Method and Description | -
---|---|
ListaEnlaceCircular |
-ListaEnlaceCircular.getPrevio()
-Devolver el enlace previo.
- |
-
ListaEnlaceCircular |
-ListaEnlaceCircular.getSiguiente()
-Devolver el siguiente enlace.
- |
-
Modifier and Type | -Field and Description | -
---|---|
private ListaEnlaceNormal |
-ListaEnlaceNormal.previo
-El enlace previo por doble enlazada.
- |
-
private ListaEnlaceNormal |
-ListaEnlaceNormal.siguiente
-El siguiente enlace.
- |
-
Modifier and Type | -Method and Description | -
---|---|
ListaEnlaceNormal |
-ListaEnlaceNormal.getPrevio()
-Devolver el enlace previo.
- |
-
ListaEnlaceNormal |
-ListaEnlaceNormal.getSiguiente()
-Devolver el siguiente enlace.
- |
-
Modifier and Type | -Field and Description | -
---|---|
private ListaEnlazada.Enlace |
- ListaEnlazada.lista
- |
-
private ListaEnlazada.Enlace |
- ListaEnlazada.Enlace.siguente
- |
-
Modifier and Type | -Method and Description | -
---|---|
ListaEnlazada.Enlace |
- ListaEnlazada.buscar(int llave)
- |
-
protected ListaEnlazada.Enlace |
- ListaEnlazada.Enlace.getSiguente()
- |
-
Modifier and Type | -Method and Description | -
---|---|
protected void |
- ListaEnlazada.Enlace.setSiguente(ListaEnlazada.Enlace siguente)
- |
-
Modifier and Type | -Field and Description | -
---|---|
private ListaEnlazada.Tipos |
-ListaEnlazdaController.listaEnlazadaTipos
-Tipo de lista enlazada a trabajar.
- |
-
Modifier and Type | -Field and Description | -
---|---|
private ListaEnlazada |
-ListaEnlazdaController.listaEnlazada
-La lista enlazada usado en la aplicación.
- |
-
Modifier and Type | -Field and Description | -
---|---|
private ListaEnlazadaCircular |
-ListaEnlazdaController.listaEnlazadaCircular
-La lista enlazada circular usado en la aplicación.
- |
-
Modifier and Type | -Field and Description | -
---|---|
private ListaEnlazadaTipos |
-ListaEnlazdaController.listaEnlazadaTipos
-Tipo de lista enlazada a trabajar.
- |
-
Modifier and Type | -Field and Description | -
---|---|
static Logs.DEBUG_TIPOS |
-Logs.DEBUG_TIPO
-Tipo de depuración a usar.
- |
-
Modifier and Type | -Method and Description | -
---|---|
static Logs.DEBUG_TIPOS |
-Logs.DEBUG_TIPOS.valueOf(java.lang.String name)
-Returns the enum constant of this type with the specified name.
- |
-
static Logs.DEBUG_TIPOS[] |
-Logs.DEBUG_TIPOS.values()
-Returns an array containing the constants of this enum type, in
-the order they are declared.
- |
-
Modifier and Type | -Field and Description | -
---|---|
private static Logs |
-Main.logs
-El logger.
- |
-
Modifier and Type | -Field and Description | -
---|---|
private Pila |
-PilaController.pila
-La pila usado en la aplicación.
- |
-
Modifier and Type | -Field and Description | -
---|---|
private TablaHash |
-TablaHashController.tablaHash
-El tablaHash usado en la aplicación.
- |
-
Modifier and Type | -Field and Description | -
---|---|
private TextFieldLimited |
-TablaHashController.llaveHashTable
-La caja para ingresar la llave.
- |
-
private TextFieldLimited |
-ArbolController.valorArbol
-La caja para ingresar textos.
- |
-
private TextFieldLimited |
-ArrayController.valorArray
-La caja para ingresar textos.
- |
-
private TextFieldLimited |
-ColaController.valorCola
-La caja para ingresar textos.
- |
-
private TextFieldLimited |
-GrafoController.valorGrafo
-La caja para el valor.
- |
-
private TextFieldLimited |
-TablaHashController.valorHashTable
-La caja para ingresar el valor.
- |
-
private TextFieldLimited |
-ListaEnlazdaController.valorLista
-La caja para ingresar el valor.
- |
-
private TextFieldLimited |
-GrafoController.valorNodo1
-La caja por nodo 1.
- |
-
private TextFieldLimited |
-GrafoController.valorNodo2
-La caja por nodo 2.
- |
-
private TextFieldLimited |
-GrafoController.valorPeso
-La caja por el peso.
- |
-
private TextFieldLimited |
-PilaController.valorPila
-La caja para ingresar textos.
- |
-
private TextFieldLimited |
-ArbolController.valorRotar
-El nodo a rotar.
- |
-
Modifier and Type | -Field and Description | -
---|---|
private static javafx.css.CssMetaData<TextFieldLimited,java.lang.Number> |
-TextFieldLimited.StyleableProperties.MAX_LENGTH |
-
Interface | -Description | -
---|---|
Grafo.DFSVisitor<T> | -
- A spanning tree visitor callback interface
- |
-
Grafo.Visitor<T> | -
- A graph visitor interface.
- |
-
Grafo.VisitorEX<T,E extends java.lang.Exception> | -
- A graph visitor interface that can throw an exception during a visit
- callback.
- |
-
ListaEnlace | -
- Esta interfaz es para los 2 arbolTipo de enlace,
-ListaEnlaceNormal y ListaEnlaceCircular . |
-
Class | -Description | -
---|---|
Arbol | -
- Esta clase tiene la estrutura de dato de tipo arbol.
- |
-
Arbol.Tipos | -
- Esta clase contiene los arbolTipo de arboles.
- |
-
ArbolController | -
- Esta clase es para controlar todos la interfaz de Arbol.
- |
-
ArbolNodo | -
- Clase de estructura de nodos del arbol.
- |
-
Array | -
- Crear una estructura de dato de tipo array.
- |
-
Array.Tipos | -
- Esta clase contiene los arbolTipo de array.
- |
-
ArrayController | -
- Esta clase es para controlar todos la interfaz de Array.
- |
-
BurbujaController | -
- Esta clase es para controlar todos la interfaz de Burbuja.
- |
-
Cola | -
- Crear una estructura de dato de tipo cola.
- |
-
ColaController | -
- Esta clase es para controlar todos la interfaz de Cola.
- |
-
Colores | -
- Rotación y generación de colores.
- |
-
Grafico | -
- Esta clase es para trabajar con graficos.
- |
-
Grafico.Destacados | -
- Clase de elemento destacado.
- |
-
Grafo | -
- Clase de grafos.
- |
-
Grafo.Dirigido<T> | -- |
Grafo.Edge<T> | -
- A directed, weighted edge in a graph
- |
-
Grafo.NoDirigido<T> | -
- Author: Keith Schwarz (htiek@cs.stanford.edu)
- |
-
Grafo.Tipos | -
- Esta clase contiene los arbolTipo de grafoNoDirigido.
- |
-
Grafo.Vertex<T> | -
- A named graph vertex with optional data.
- |
-
GrafoController | -
- Esta clase es para controlar todos la interfaz de Arbol.
- |
-
GrafoNodo | -
- Este clase es la estructura de un nodo de grafoNoDirigido.
- |
-
HashItem | -
- La estructura de un elemento de una Tabla Hash.
- |
-
InsercionController | -
- Esta clase es para controlar todos la interfaz de Inserción.
- |
-
ListaEnlaceCircular | -
- Esta clase es de tipo de enlace circular.
- |
-
ListaEnlaceNormal | -
- Esta clase es de tipo de enlace normal.
- |
-
ListaEnlazada | -
- Crear una estructura de dato de tipo lista enlazada.
- |
-
ListaEnlazada.Tipos | -
- Esta clase contiene los arbolTipo de listas enlazadas.
- |
-
ListaEnlazadaCircular | -
- Crear una estructura de dato de tipo lista enlazada circular.
- |
-
ListaEnlazdaController | -
- Esta clase es para controlar todos la interfaz de ListaEnlazada.
- |
-
Logs | -
- Esta clase es para configurar el logeo de la aplicación.
- |
-
Main | -
- Estructuras de Datos
- Creado como proyecto semestral para la asignatura de estructuras de datos por la profesora Karina Rojas y el profesor Jorge Elgueta.
- |
-
MenuController | -
- Controlar las acciones cuando una opción es elegido en el menu.
- |
-
MergeController | -
- Esta clase es para controlar todos la interfaz de Merge.
- |
-
Palabras | -- |
Pila | -
- Crear una estructura de dato de tipo pila.
- |
-
PilaController | -
- Esta clase es para controlar todos la interfaz de Pila.
- |
-
QuickController | -
- Esta clase es para controlar todos la interfaz de Quick.
- |
-
SeleccionController | -
- Esta clase es para controlar todos la interfaz de Selección.
- |
-
ShellController | -
- Esta clase es para controlar todos la interfaz de Shell.
- |
-
TablaHash | -
- Esta clase es tipo de estructura de dato Tabla Hash.
- |
-
TablaHashController | -
- Esta clase es para controlar todos la interfaz de TablaHash.
- |
-
TextFieldLimited | -
- Crear un TextField especial que tiene un maximo de digitos que puede ingresar.
- |
-
TextFieldLimited.StyleableProperties | -
- CSS por FXML con un maximo tamaño
- |
-
Enum | -Description | -
---|---|
Logs.DEBUG_TIPOS | -
- Tipos de depuración.
- |
-
Class and Description | -
---|
Arbol
- Esta clase tiene la estrutura de dato de tipo arbol.
- |
-
Arbol.Tipos
- Esta clase contiene los arbolTipo de arboles.
- |
-
ArbolNodo
- Clase de estructura de nodos del arbol.
- |
-
Array
- Crear una estructura de dato de tipo array.
- |
-
Array.ParticionarResult
- Esta clase contiene los resultados de Partricionar.
- |
-
Cola
- Crear una estructura de dato de tipo cola.
- |
-
Colores
- Rotación y generación de colores.
- |
-
Grafico
- Esta clase es para trabajar con graficos.
- |
-
Grafico.Destacados
- Clase de elemento destacado.
- |
-
Grafo.DFSVisitor
- A spanning tree visitor callback interface
- |
-
Grafo.Dirigido | -
Grafo.Edge
- A directed, weighted edge in a graph
- |
-
Grafo.NoDirigido
- Author: Keith Schwarz (htiek@cs.stanford.edu)
- |
-
Grafo.Tipos
- Esta clase contiene los arbolTipo de grafoNoDirigido.
- |
-
Grafo.Vertex
- A named graph vertex with optional data.
- |
-
Grafo.Visitor
- A graph visitor interface.
- |
-
Grafo.VisitorEX
- A graph visitor interface that can throw an exception during a visit
- callback.
- |
-
GrafoNodo
- Este clase es la estructura de un nodo de grafoNoDirigido.
- |
-
HashItem
- La estructura de un elemento de una Tabla Hash.
- |
-
ListaEnlace
- Esta interfaz es para los 2 arbolTipo de enlace,
-ListaEnlaceNormal y ListaEnlaceCircular . |
-
ListaEnlaceCircular
- Esta clase es de tipo de enlace circular.
- |
-
ListaEnlaceNormal
- Esta clase es de tipo de enlace normal.
- |
-
ListaEnlazada
- Crear una estructura de dato de tipo lista enlazada.
- |
-
ListaEnlazada.Tipos
- Esta clase contiene los arbolTipo de listas enlazadas.
- |
-
ListaEnlazadaCircular
- Crear una estructura de dato de tipo lista enlazada circular.
- |
-
Logs
- Esta clase es para configurar el logeo de la aplicación.
- |
-
Logs.DEBUG_TIPOS
- Tipos de depuración.
- |
-
Pila
- Crear una estructura de dato de tipo pila.
- |
-
TablaHash
- Esta clase es tipo de estructura de dato Tabla Hash.
- |
-
TextFieldLimited
- Crear un TextField especial que tiene un maximo de digitos que puede ingresar.
- |
-
Modifier and Type | -Constant Field | -Value | -
---|---|---|
-
-public static final int |
-AVL |
-3 |
-
-
-public static final int |
-B_TREE |
-5 |
-
-
-public static final int |
-BINARIO |
-1 |
-
-
-public static final int |
-BUSQUEDA_BINARIA |
-2 |
-
-
-public static final int |
-GENERAL |
-0 |
-
-
-public static final int |
-ROJO_NEGRO |
-4 |
-
Modifier and Type | -Constant Field | -Value | -
---|---|---|
-
-public static final int |
-ORDENADO |
-1 |
-
-
-public static final int |
-SIMPLE |
-0 |
-
Modifier and Type | -Constant Field | -Value | -
---|---|---|
-
-public static final int |
-MAX_COLORS |
-7 |
-
Modifier and Type | -Constant Field | -Value | -
---|---|---|
-
-public static final int |
-CIRCULO |
-1 |
-
-
-public static final int |
-DURACION |
-150 |
-
-
-public static final int |
-RECTANGULO |
-0 |
-
-
-public static final int |
-TEXTO |
-2 |
-
Modifier and Type | -Constant Field | -Value | -
---|---|---|
-
-public static final int |
-VISIT_COLOR_BLACK |
-3 |
-
-
-public static final int |
-VISIT_COLOR_GREY |
-2 |
-
-
-public static final int |
-VISIT_COLOR_WHITE |
-1 |
-
Modifier and Type | -Constant Field | -Value | -
---|---|---|
-
-public static final int |
-DIRIGIDO |
-0 |
-
-
-public static final int |
-NO_DIRIGIDO |
-1 |
-
-
-public static final int |
-PESO |
-2 |
-
Modifier and Type | -Constant Field | -Value | -
---|---|---|
-
-private static final int |
-PESO_PREDETERMINADO |
-0 |
-
Modifier and Type | -Constant Field | -Value | -
---|---|---|
-
-public static final int |
-CIRCULAR |
-1 |
-
-
-public static final int |
-DOBLEMENTE_ENLAZADA |
-2 |
-
-
-public static final int |
-SIMPLE |
-0 |
-
Modifier and Type | -Constant Field | -Value | -
---|---|---|
-
-public static final boolean |
-DEBUG |
-false |
-
-
-public static final java.lang.String |
-LOGFILE |
-"./EDD.log" |
-
-
-public static final java.lang.String |
-LOGNAME |
-"EDD" |
-
Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:
-Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
-Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
-Each annotation type has its own separate page with the following sections:
-Each enum has its own separate page with the following sections:
-Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
-There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object
. The interfaces do not inherit from java.lang.Object
.
The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
-The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
-These links take you to the next or previous class, interface, package, or related page.
-These links show and hide the HTML frames. All pages are available with or without frames.
-The All Classes link shows all classes and interfaces except non-static nested types.
-Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
-The Constant Field Values page lists the static final fields and their values.
-EnlaceNormal
y EnlaceCircular
.Enlace
ListaEnlaceNormal
y ListaEnlaceCircular
.ListaEnlace