Closed fiveham closed 8 years ago
Implementing the XY-Chain technique as a subtechnique of ColorChain (since both involve analysis of size-2 Facts vis-a-vis those Facts' two states) has allowed bridge analysis to be subsumed under XY-Chain analysis and to be removed from the program.
Currently, given
n
xor-chains, tests between chains for bridge interactions takeO(n^2)
time. Bridges between xor-chains can be found inO(n)
time by first creating a Map from Claims of a chain to the chain, iterating over a collection of the chains, and for each chain, bridging Facts are detected, and those bridging Facts that contain Claims that map to another chain constitute the analysable link between two chains.