We recently presented a fast constraint solver--- Synchronet 3.21a-Linux NewsLink 1.2
termed Railgun CLP(FD) that modelled attributed
variables simply via rCy$ATTRrCO/2 compounds and could
deal with integer dif/2 constraints. In this
instalment we allow (#\=)2 constraints and demonstrate
that it can be ported to SWI-Prolog.
Using polyfill for rCy$SEQrCO/2 from Dogelog Player,
we observed that running Railgun CLP(FD) inside
SWI-Prolog gives a 2rCo3x speed-up for the Queens
example, on both 32-bit and 64-bit. On the other
hand the price tag for big integer flexibility
seems to be a factor 35x slow down.
See also:
Porting Railgun CLP(FD) to SWI-Prolog
https://medium.com/2989/e9f2ef4e6878
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 76 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 58:15:22 |
| Calls: | 1,265 |
| Calls today: | 1 |
| Files: | 1,362 |
| D/L today: |
4 files (9,632K bytes) |
| Messages: | 285,959 |