public interface SearchDistributor
Modifier and Type | Method and Description |
---|---|
void |
distribute(List<Frontier> frontierList)
Distributes the list of the problems
|
SearchDistributor |
setDataConsumer(DataConsumer dataConsumer)
Sets the data consumer
|
void |
setFlag(String name,
AtomicBoolean flag)
TODO: Buggy !! this function is adding a new instance of AromicBoolen and
not setting the value of a current atomic boolean
|
SearchDistributor setDataConsumer(DataConsumer dataConsumer)
dataConsumer
- the DataConsumervoid distribute(List<Frontier> frontierList)
frontierList
- a list containing the search problems to
distributevoid setFlag(String name, AtomicBoolean flag)
name
- the name of the flagflag
- the value of the flagCopyright © 2014. All rights reserved.