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.
|
public static final int DIRIGIDO
public static final int NO_DIRIGIDO
public static final int PESO
private final int tipo