negmas.tournaments Package

Tournament generation and management.

Functions

run_world(world_params[, dry_run, ...])

Runs a world and returns stats.

process_world_run(run_id, results, ...)

Generates a data-frame with the results of this world run

create_tournament(competitors, ...[, ...])

Creates a tournament

run_tournament(tournament_path[, ...])

Runs a tournament

evaluate_tournament(tournament_path[, ...])

Evaluates the results of a tournament

combine_tournaments(sources[, dest, verbose])

Combines contents of several tournament runs in the destination path allowing for continuation of the tournament

combine_tournament_results(sources[, dest, ...])

Combines results of several tournament runs in the destination path.

combine_tournament_stats(sources[, dest, ...])

Combines statistical results of several tournament runs in the destination path.

tournament(competitors, config_generator, ...)

Runs a tournament

create_neg_tournament(competitors, domains)

Creates a tournament

neg_tournament(competitors, domains[, ...])

Runs a tournament

random_discrete_domains(issues, partners[, ...])

Generates an infinite sequence of random discrete domains

domains_from_list(domains)

Creats an appropriate NegDomain generator from a list/tuple of domains

Classes

WorldGenerator(*args, **kwargs)

A callback-protocol specifying the signature of a world generator function that can be passed to tournament

WorldRunResults(world_names, log_file_names)

Results of a world run

TournamentResults(scores, total_scores, ...)

Class Inheritance Diagram

digraph inheritanceec1da1ff3b { bgcolor=transparent; fontsize=11; randkir=TB; rankdir=LR; size=""; "Generic" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="setlinewidth(0.5),filled",tooltip="Abstract base class for generic types."]; "Protocol" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="setlinewidth(0.5),filled",tooltip="Base class for protocol classes."]; "Generic" -> "Protocol" [arrowsize=0.5,style="setlinewidth(0.5)"]; "TournamentResults" [URL="../../api/negmas.tournaments.TournamentResults.html#negmas.tournaments.TournamentResults",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="TournamentResults(scores: 'pd.DataFrame', total_scores: 'pd.DataFrame', winners: 'List[str]', winners_scores: 'np.array', ttest: 'pd.DataFrame' = None, kstest: 'pd.DataFrame' = None, stats: 'pd.DataFrame' = None, agg_stats: 'pd.DataFrame' = None, score_stats: 'pd.DataFrame' = None, path: 'str' = None, world_stats: 'pd.DataFrame' = None, type_stats: 'pd.DataFrame' = None, agent_stats: 'pd.DataFrame' = None, params: 'Dict[str, Any]' = None, extra_scores: 'Dict[str, pd.DataFrame]' = None)"]; "WorldGenerator" [URL="../../api/negmas.tournaments.WorldGenerator.html#negmas.tournaments.WorldGenerator",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A callback-protocol specifying the signature of a world generator function that can be passed to `tournament`"]; "Protocol" -> "WorldGenerator" [arrowsize=0.5,style="setlinewidth(0.5)"]; "WorldRunResults" [URL="../../api/negmas.tournaments.WorldRunResults.html#negmas.tournaments.WorldRunResults",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Results of a world run"]; }