gr.uoa.di.madgik.commons.infra.nodeassignmentpolicy
Class CollocationRegistry

java.lang.Object
  extended by gr.uoa.di.madgik.commons.infra.nodeassignmentpolicy.CollocationRegistry

public class CollocationRegistry
extends Object

Author:
gerasimos.farantatos - DI NKUA

Constructor Summary
CollocationRegistry()
           
 
Method Summary
 void addToCollocationScore(HostingNode node, float value)
           
 int currentRound(HostingNode node)
           
 float getCollocationScore(HostingNode node)
           
 float getTotalCollocationScore(HostingNode node)
           
 boolean isSelected(HostingNode node)
           
 void markSelected(HostingNode node)
           
 void newRound(HostingNode node)
           
 int timesSelected(HostingNode node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollocationRegistry

public CollocationRegistry()
Method Detail

markSelected

public void markSelected(HostingNode node)

isSelected

public boolean isSelected(HostingNode node)

timesSelected

public int timesSelected(HostingNode node)

currentRound

public int currentRound(HostingNode node)

newRound

public void newRound(HostingNode node)

getCollocationScore

public float getCollocationScore(HostingNode node)
                          throws Exception
Throws:
Exception

getTotalCollocationScore

public float getTotalCollocationScore(HostingNode node)
                               throws Exception
Throws:
Exception

addToCollocationScore

public void addToCollocationScore(HostingNode node,
                                  float value)
                           throws Exception
Throws:
Exception


Copyright © 2013. All Rights Reserved.