public class Rank extends Object
Modifier and Type | Field and Description |
---|---|
private PegasusBag |
mBag
The pegasus bag.
|
private Algorithm |
mHeft
The handle to the ranking algorithm.
|
private LogManager |
mLogger
The handle to the logging object.
|
private String |
mRequestID
The optional request id.
|
private List |
mSites
The list of candidate grid sites.
|
Constructor and Description |
---|
Rank()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
initialize(PegasusBag bag,
List sites,
String id)
Initializes the rank client.
|
Collection<Ranking> |
rank(Collection<String> daxes)
Ranks the daxes, and returns a sort collection of Ranking objects.
|
private Algorithm mHeft
private PegasusBag mBag
private List mSites
private String mRequestID
private LogManager mLogger
public void initialize(PegasusBag bag, List sites, String id)
bag
- the PegasusBag.sites
- the sites where the wf can run potentially.id
- the request idpublic Collection<Ranking> rank(Collection<String> daxes)
daxes
- CollectionCopyright © 2011 The University of Southern California. All Rights Reserved.