com.anji.neat
Class RemoveConnectionMutationOperator.Strategy

java.lang.Object
  extended bycom.anji.neat.RemoveConnectionMutationOperator.Strategy
Enclosing class:
RemoveConnectionMutationOperator

public static class RemoveConnectionMutationOperator.Strategy
extends java.lang.Object

Enumerated type for remove connection strategies.

Author:
Philip Tucker

Field Summary
static RemoveConnectionMutationOperator.Strategy ALL
          all connections have equal likelihood of being removed
static RemoveConnectionMutationOperator.Strategy SKEWED
          likelihood of connection being removed is inversely proprtional to weight
static RemoveConnectionMutationOperator.Strategy SMALL
          number of connections removed (n) is calculated based on total number of connections, and the n smallest connections are removed, excepting any whose weight is larger than maxWeightRemoved
 
Method Summary
 java.lang.String toString()
           
static RemoveConnectionMutationOperator.Strategy valueOf(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ALL

public static final RemoveConnectionMutationOperator.Strategy ALL
all connections have equal likelihood of being removed


SKEWED

public static final RemoveConnectionMutationOperator.Strategy SKEWED
likelihood of connection being removed is inversely proprtional to weight


SMALL

public static final RemoveConnectionMutationOperator.Strategy SMALL
number of connections removed (n) is calculated based on total number of connections, and the n smallest connections are removed, excepting any whose weight is larger than maxWeightRemoved

Method Detail

toString

public java.lang.String toString()
See Also:
Object.toString()

valueOf

public static RemoveConnectionMutationOperator.Strategy valueOf(java.lang.String s)
Parameters:
s -
Returns:
Strategy object identified by s, or null if no strategy matches s