public static void generateOutput(final DataModelIF<Long, Long> testModel, final Map<Long, List<Pair<Long, Double>>> mapUserRecommendations,
            final EvaluationStrategy<Long, Long> strategy, final EvaluationStrategy.OUTPUT_FORMAT format,
            final File rankingFolder, final File groundtruthFolder, final String inputFileName,
            final String strategyClassSimpleName, final String threshold, final String suffix, final Boolean overwrite)
            throws FileNotFoundException, UnsupportedEncodingException {
        File outRanking = new File(rankingFolder, "out" + "__" + inputFileName + "__" + strategyClassSimpleName + "__" + threshold + suffix);
        File outGroundtruth = new File(groundtruthFolder, "gr" + "__" + inputFileName + "__" + strategyClassSimpleName + "__" + threshold + suffix);
        StrategyRunner.generateOutput(testModel, mapUserRecommendations, strategy, format, outRanking, outGroundtruth, overwrite);
    }
public static void generateOutput ( final DataModelIF < Long , Long > testModel , final Map < Long , List < Pair < Long , Double > > > mapUserRecommendations , final EvaluationStrategy < Long , Long > strategy , final EvaluationStrategy . OUTPUT_FORMAT format , final File rankingFolder , final File groundtruthFolder , final String inputFileName , final String strategyClassSimpleName , final String threshold , final String suffix , final Boolean overwrite ) throws FileNotFoundException , UnsupportedEncodingException { File outRanking = new File ( rankingFolder , "out" + "__" + inputFileName + "__" + strategyClassSimpleName + "__" + threshold + suffix ) ; File outGroundtruth = new File ( groundtruthFolder , "gr" + "__" + inputFileName + "__" + strategyClassSimpleName + "__" + threshold + suffix ) ; StrategyRunner . generateOutput ( testModel , mapUserRecommendations , strategy , format , outRanking , outGroundtruth , overwrite ) ; }
Runs multiple strategies on some data and outputs the result into a file.

@param testModel The test datamodel.
@param mapUserRecommendations A map with the recommendations for the
users.
@param strategy The strategy to use.
@param format The format of the printer
@param rankingFolder Where to write output.
@param groundtruthFolder Where to read test set.
@param inputFileName The file names to read.
@param strategyClassSimpleName The class name of the strategy.
@param threshold The relevance threshold.
@param suffix The file suffix.
@param overwrite Whether or not to overwrite the results file.
@throws FileNotFoundException see
{@link StrategyRunner#generateOutput(net.recommenders.rival.core.DataModelIF, java.util.Map, net.recommenders.rival.evaluation.strategy.EvaluationStrategy,
net.recommenders.rival.evaluation.strategy.EvaluationStrategy.OUTPUT_FORMAT, java.io.File, java.io.File, java.lang.Boolean)}
@throws UnsupportedEncodingException see
{@link StrategyRunner#generateOutput(net.recommenders.rival.core.DataModelIF, java.util.Map, net.recommenders.rival.evaluation.strategy.EvaluationStrategy,
net.recommenders.rival.evaluation.strategy.EvaluationStrategy.OUTPUT_FORMAT, java.io.File, java.io.File, java.lang.Boolean)}