|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pedviz.algorithms.GraphRepair
public class GraphRepair
The automatic repair method fixes problems by changing the sex or adding virtual individuals (ID starts with ##).
Constructor Summary | |
---|---|
GraphRepair()
|
Method Summary | |
---|---|
static java.util.Vector<java.lang.String> |
insertMissingParents(Graph graph,
java.lang.Object male,
java.lang.Object female)
Inserts missing parents and change invalid sex. |
static java.util.Vector<java.lang.String> |
insertMissingParents(java.util.Vector<Graph> graphs)
Inserts missing parents and change invalid sex. |
static java.util.Vector<java.lang.String> |
insertMissingParents(java.util.Vector<Graph> graphs,
java.lang.Object male,
java.lang.Object female)
Inserts missing parents and change invalid sex. |
static java.util.Vector<java.lang.String> |
repair(Graph graph)
Inserts missing parents and change invalid sex. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GraphRepair()
Method Detail |
---|
public static java.util.Vector<java.lang.String> repair(Graph graph)
graph
- graph.
public static java.util.Vector<java.lang.String> insertMissingParents(Graph graph, java.lang.Object male, java.lang.Object female)
graph
- graphmale
- symbol for male (default "1")female
- symbol for female (default "2")
public static java.util.Vector<java.lang.String> insertMissingParents(java.util.Vector<Graph> graphs)
graphs
- a collection of graphs.
public static java.util.Vector<java.lang.String> insertMissingParents(java.util.Vector<Graph> graphs, java.lang.Object male, java.lang.Object female)
graphs
- a collection of graphs.male
- symbol for male (default "1")female
- symbol for female (default "2")
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |