WebWorkerCluster
A distributed solver in a browser: the catalog on the page, the workers on threads Web Workers, each running the script at worker (one calling startWebWorker with this module loaded) and a site of its own, a delegate of the one of the page (see Site.delegate). The theory is split into at most parts partitions if given, as many as the workers of the Web Workers and of the sites the cluster is federated with otherwise: it federates with JVM and Node.js sites over WebSockets (connect), lending them the workers of its Web Workers, and with the browsers they are linked to over WebRTC (see RtcLinks, with iceServers if given, as RTCPeerConnection takes them). The graph is labelled as the standard solver does with flags.
Constructors
Properties
Called whenever a site joins or leaves the peers of the cluster, its Web Workers included
The cluster as a solver of arg2p: any goal, its solutions and their graphs, the answers of queries
What the federation does, as the cluster knows it: the sites, and the last evaluation it answered (see Site.stats)