connectionRules
Class ConnectNothing

java.lang.Object
  |
  +--connectionRules.ConnectNothing
All Implemented Interfaces:
ConnectionRule

public class ConnectNothing
extends java.lang.Object
implements ConnectionRule

This is a connection rule that does nothing

Author:
Kevin Zollman

Constructor Summary
ConnectNothing()
           
 
Method Summary
 java.util.HashSet formConnection(Individual i)
          The function to form connections
 void newGeneration()
          The function to reset thing for the new generation
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectNothing

public ConnectNothing()
Method Detail

newGeneration

public void newGeneration()
Description copied from interface: ConnectionRule
The function to reset thing for the new generation

Specified by:
newGeneration in interface ConnectionRule

formConnection

public java.util.HashSet formConnection(Individual i)
Description copied from interface: ConnectionRule
The function to form connections

Specified by:
formConnection in interface ConnectionRule
Parameters:
i - The calling individual
Returns:
A hash set of individuals which constitutes the individuals neighbors