init_genius_bridge

negmas.genius.init_genius_bridge(path: Optional[str] = None, port: int = 25337, debug: bool = False, timeout: float = 0)bool[source]

Initializes a genius connection

Parameters
  • path – The path to a JAR file that runs negloader

  • port – port number to use

  • debug – If true, passes –debug to the bridge

  • timeout – 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.

Returns

True if successful