init_genius_bridge
- negmas.genius.init_genius_bridge(path=None, port=25337, debug=False, timeout=0)[source]
Initializes a genius connection
- Parameters:
path (
Path
|str
|None
) – The path to a JAR file that runs negloaderport (
int
) – port number to usedebug (
bool
) – If true, passes –debug to the bridgetimeout (
float
) – If positive and nonzero, passes it as the global timeout for the bridge. Note that currently, the bridge supports only integer timeout values and the fraction will be truncated.
- Return type:
- Returns:
True if successful