Skip to content

Commit b0e3837

Browse files
committed
Make org.encog.ml.ea.opp.CompoundOperator serializable
1 parent c534fcd commit b0e3837

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/org/encog/ml/ea/opp/CompoundOperator.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
*/
2424
package org.encog.ml.ea.opp;
2525

26+
import java.io.Serializable;
2627
import java.util.Random;
2728

2829
import org.encog.ml.ea.genome.Genome;
@@ -33,7 +34,7 @@
3334
* A compound operator randomly chooses sub-operators to perform the actual
3435
* operation. Each of the sub-operators can be provided with a weighting.
3536
*/
36-
public class CompoundOperator implements EvolutionaryOperator {
37+
public class CompoundOperator implements EvolutionaryOperator, Serializable {
3738

3839
/**
3940
* The owner of this operator.

0 commit comments

Comments
 (0)