|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Gene
Describes a gene. A gene is the smallest piece of genetic information in Encog.
| Method Summary | |
|---|---|
void |
copy(Gene gene)
Copy another gene to this one. |
long |
getId()
Get the ID of this gene, -1 for undefined. |
long |
getInnovationId()
|
boolean |
isEnabled()
|
void |
setEnabled(boolean e)
Determine if this gene is enabled. |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
void copy(Gene gene)
gene - The other gene to copy.long getId()
long getInnovationId()
boolean isEnabled()
void setEnabled(boolean e)
e - True if this gene is enabled.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||