Class SequentialSearchStrategy
java.lang.Object
org.unifi.mecvirtualresourceallocation.algorithm.SequentialSearchStrategy
- All Implemented Interfaces:
AllocationStrategy
The SequentialSearchStrategy class implements an allocation strategy based on the sequential
algorithm described in the paper "Virtual Resource Allocation for Mobile Edge Computing: A
Hypergraph Matching Approach".
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallocate
(HyperGraph hyperGraph) Allocates resources based on the sequential search strategy.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.unifi.mecvirtualresourceallocation.algorithm.AllocationStrategy
getHyperEdges
-
Constructor Details
-
SequentialSearchStrategy
public SequentialSearchStrategy()
-
-
Method Details
-
allocate
Allocates resources based on the sequential search strategy.- Specified by:
allocate
in interfaceAllocationStrategy
- Parameters:
hyperGraph
- the hypergraph used to allocate resources- Returns:
- a set of vertices in the conflict graph selected by the allocation strategy
-