init_genius_bridge

negmas.genius.init_genius_bridge(path=None, port=25337, debug=False, timeout=0)[source]

Initializes a genius connection

Parameters
  • path (Optional[str]) – The path to a JAR file that runs negloader

  • port (int) – port number to use

  • debug (bool) – If true, passes –debug to the bridge

  • timeout (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

bool

Returns

True if successful