Gephi Toolkit Javadoc

org.gephi.ranking.spi
Interface RankingBuilder


public interface RankingBuilder

Ranking builder, creating Ranking instances suitable to the given RankingModel.

Implementors should add the @ServiceProvider annotation to be registered by the system.

Author:
Mathieu Bastian

Method Summary
 Ranking[] buildRanking(RankingModel model)
          Return an array of newly created rankings.
 Ranking refreshRanking(Ranking ranking)
          Return a new instance of the same ranking, but with refresh minimum and maximum value.
 

Method Detail

buildRanking

Ranking[] buildRanking(RankingModel model)
Return an array of newly created rankings. The model is useful to know which workspace to create rankings for,

Parameters:
model - the model to be used in the building
Returns:
an array of rankings

refreshRanking

Ranking refreshRanking(Ranking ranking)
Return a new instance of the same ranking, but with refresh minimum and maximum value.

Parameters:
ranking - the ranking to refresh
Returns:
a new instance of the same ranking, but refreshed

Gephi Toolkit Javadoc