| Package | Description |
|---|---|
| net.zomis.fight.ext |
| Modifier and Type | Method and Description |
|---|---|
Stream<Fight<P,A>> |
GameFightNew.createEvenFightStream(List<P> ais,
int numFights,
Function<ArenaParams<P>,A> arenaCreator) |
FightRes<Fight<P,A>> |
GameFightNew.fightRandom(String name,
List<P> fighters,
int count,
FightIndexer<Fight<P,A>> indexer,
Function<ArenaParams<P>,A> arenaCreator,
Consumer<Fight<P,A>> process) |
static <A,B> Function<FNode<Fight<A,B>>,WinResult> |
FightCollectors.fightResult(int myIndex,
A drawValue,
Function<FNode<Fight<A,B>>,A> winner) |
static <A,B> Indexer<Fight<A,B>> |
FightCollectors.player1() |
static <A,B> Indexer<FNode<Fight<A,B>>> |
FightCollectors.player2(int firstIndex) |
Stream<Fight<P,A>> |
GameFightNew.produceRandomStream(List<P> fighters,
Function<ArenaParams<P>,A> arenaCreator) |
| Modifier and Type | Method and Description |
|---|---|
FightRes<Fight<P,A>> |
GameFightNew.fightRandom(String name,
List<P> fighters,
int count,
FightIndexer<Fight<P,A>> indexer,
Function<ArenaParams<P>,A> arenaCreator,
Consumer<Fight<P,A>> process) |
FightRes<Fight<P,A>> |
GameFightNew.fightRandom(String name,
List<P> fighters,
int count,
FightIndexer<Fight<P,A>> indexer,
Function<ArenaParams<P>,A> arenaCreator,
Consumer<Fight<P,A>> process) |
static <A,B> Function<FNode<Fight<A,B>>,WinResult> |
FightCollectors.fightResult(int myIndex,
A drawValue,
Function<FNode<Fight<A,B>>,A> winner) |
Copyright © 2015. All rights reserved.