Package soot.jimple.spark.geom.geomPA
Class PQ_Worklist
- java.lang.Object
-
- soot.jimple.spark.geom.geomPA.PQ_Worklist
-
- All Implemented Interfaces:
IWorklist
public class PQ_Worklist extends Object implements IWorklist
The implementation of prioritized worklist. The priority is computed by two parameters: the Topsort order and the least recent fired (LRF) timestamp. For two pointers p and q p has higher priority than q iff: 1. topsort_order(p) < topsort_order(q) 2. topsort_order(p) == topsort_order(q) && LRF(p) < LRF(q)- Author:
- xiao
-
-
Constructor Summary
Constructors Constructor Description PQ_Worklist()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleanhas_job()voidinitialize(int size)Some worklist may need the initial capacity.IVarAbstractionnext()voidpush(IVarAbstraction e)intsize()
-
-
-
Method Detail
-
initialize
public void initialize(int size)
Description copied from interface:IWorklistSome worklist may need the initial capacity.- Specified by:
initializein interfaceIWorklist
-
next
public IVarAbstraction next()
-
push
public void push(IVarAbstraction e)
-
-