View Javadoc
1   package net.bmahe.genetics4j.gp;
2   
3   import java.util.List;
4   
5   import org.immutables.value.Value;
6   import org.immutables.value.Value.Parameter;
7   
8   @Value.Immutable
9   public abstract class InputSpec {
10  
11  	@SuppressWarnings("rawtypes")
12  	@Parameter
13  	public abstract List<Class> types();
14  
15  	public int inputSize() {
16  		return types().size();
17  	}
18  
19  }