es.udc.gii.common.eaf.algorithm.parallel.migration.acceptance
Class IntersectionAcceptancePolicy

java.lang.Object
  extended by es.udc.gii.common.eaf.algorithm.parallel.migration.acceptance.BinaryAcceptancePolicy
      extended by es.udc.gii.common.eaf.algorithm.parallel.migration.acceptance.IntersectionAcceptancePolicy
All Implemented Interfaces:
MigAcceptancePolicy, Configurable

public class IntersectionAcceptancePolicy
extends BinaryAcceptancePolicy

This class is a binary acceptance policy. It represents the intersection of its left and right component. See BinaryAcceptancePolicy for details.

Since:
1.0
Author:
Grupo Integrado de IngenierĂ­a (www.gii.udc.es)

Constructor Summary
IntersectionAcceptancePolicy()
          Creates a new instance of IntersectionAcceptancePolicy
 
Method Summary
protected  java.util.List<Individual> binaryOperation(java.util.List<Individual> acceptedFromLeft, java.util.List<Individual> acceptedFromRight)
          Implements an intersection of the two lists passed.
 java.lang.String toString()
           
 
Methods inherited from class es.udc.gii.common.eaf.algorithm.parallel.migration.acceptance.BinaryAcceptancePolicy
accept, configure, getLeftComponent, getRightComponent, setLeftComponent, setRightComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IntersectionAcceptancePolicy

public IntersectionAcceptancePolicy()
Creates a new instance of IntersectionAcceptancePolicy

Method Detail

binaryOperation

protected java.util.List<Individual> binaryOperation(java.util.List<Individual> acceptedFromLeft,
                                                     java.util.List<Individual> acceptedFromRight)
Implements an intersection of the two lists passed.

Specified by:
binaryOperation in class BinaryAcceptancePolicy

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object