-
-
Field Summary
Fields
Modifier and Type |
Field and Description |
static java.lang.String |
ANN_EXT |
-
Constructor Summary
Constructors
Constructor and Description |
ANN() |
-
Method Summary
All Methods Static Methods Concrete Methods
Modifier and Type |
Method and Description |
static java.util.List<? extends java.io.Serializable> |
readANNs(java.io.File ens)
Read ANNs from file/dir.
|
static java.io.File |
writeAnns(java.io.File annDir,
java.util.List<? extends java.io.Serializable> anns) |
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
readANNs
public static java.util.List<? extends java.io.Serializable> readANNs(java.io.File ens)
throws java.io.IOException
Read ANNs from file/dir.
usage: List>NEATNetwork< nn = (List>NEATNetwork<) readANNs(new
File("/tmp/anns.zip"));
- Parameters:
ens
- the zip file or directory
- Returns:
- the list of serializable objects
- Throws:
java.io.IOException
- IOException
(c) 2012-2022, OMSLab, Colorado State University.