pulling.availability_imposer
Class AvailabilityImposer

java.lang.Object
  extended by pulling.availability_imposer.AvailabilityImposer
All Implemented Interfaces:
java.lang.Runnable

public class AvailabilityImposer
extends java.lang.Object
implements java.lang.Runnable

This class is a Runnable (Thread) class able to navigate the Availability Net and impose availability. This thread starts from the root node and moves to other nodes using the probability of Arch objects. When it reaches a node it tries to impose the availability that is defined in the Nodes.

Author:
Majd Kokaly

Constructor Summary
AvailabilityImposer(Net net)
          Default constructor
 
Method Summary
 Net getNet()
           
 void run()
          This method is responsible for navigation.
 void setNet(Net net)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvailabilityImposer

public AvailabilityImposer(Net net)
Default constructor

Parameters:
net - to set the net field
Method Detail

getNet

public Net getNet()

setNet

public void setNet(Net net)

run

public void run()
This method is responsible for navigation.

Specified by:
run in interface java.lang.Runnable