Skip to content

Commit 871d828

Browse files
committed
s/irifrance/go-air
1 parent 4473bcc commit 871d828

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+146
-120
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
The Gini sat solver is a fast, clean SAT solver written in Go. It is to our knowledge
44
the first ever performant pure-Go SAT solver made available.
55

6-
| [![Build Status](https://travis-ci.org/irifrance/gini.svg?branch=master)](https://travis-ci.org/irifrance/gini) | [![GoDoc](https://godoc.org/github.com/irifrance/gini?status.svg)](https://godoc.org/github.com/irifrance/gini) | [Google Group](https://groups.google.com/d/forum/ginisat) |
6+
| [![Build Status](https://travis-ci.org/go-air/gini.svg?branch=master)](https://travis-ci.org/go-air/gini) | [![GoDoc](https://godoc.org/github.com/go-air/gini?status.svg)](https://godoc.org/github.com/go-air/gini) | [Google Group](https://groups.google.com/d/forum/ginisat) |
77
------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------|
88

99
This solver is fully open source, originally developped at IRI France.
@@ -13,9 +13,9 @@ This solver is fully open source, originally developped at IRI France.
1313

1414
For the impatient:
1515

16-
go get github.com/irifrance/gini...
16+
go get github.com/go-air/gini...
1717

18-
I recommend however building the package github.com/irifrance/gini/internal/xo with bounds checking
18+
I recommend however building the package github.com/go-air/gini/internal/xo with bounds checking
1919
turned off. This package is all about anything-goes performance and is the workhorse behind most of
2020
the gini sat solver. It is also extensively tested and well benchmarked, so it should not pose any
2121
safety threat to client code. This makes a signficant speed difference (maybe 10%) on long running
@@ -164,16 +164,16 @@ comparison to using a logic library.
164164

165165
With Cardinality constraints, optimisation is easy
166166

167-
import "github.com/irifrance/gini"
168-
import "github.com/irifrance/gini/logic"
167+
import "github.com/go-air/gini"
168+
import "github.com/go-air/gini/logic"
169169

170170
c := logic.NewC()
171171

172172

173173
// suppose we encode package constraints for a module in the circuit c
174174
// and we have a slice S of dependent packages P each of which has an attribute
175175
// P.needsRepl which indicates whether or not it needs to be replaced (of type
176-
// github.com/irifrance/gini/z.Lit)
176+
// github.com/go-air/gini/z.Lit)
177177

178178
repls := make([]z.Lit, 0, 1<<23)
179179
for _, p := range pkgs {
@@ -202,7 +202,7 @@ With Cardinality constraints, optimisation is easy
202202
## Activation Literals
203203

204204
Gini supports recycling activation literals with the
205-
[Activatable interface](http://godoc.org/github.com/irifrance/gini/inter#Activatable)
205+
[Activatable interface](http://godoc.org/github.com/go-air/gini/inter#Activatable)
206206

207207
Even without recycling, activation literals provide an easy way to solve MAXSAT problems:
208208
just activate each clause, use a cardinality constraint on the activation literals,
@@ -292,7 +292,7 @@ superlinear speedup according to the literature.
292292
## Distributed and CRISP
293293

294294
Gini provides a definition and reference implementation for
295-
[CRISP-1.0](https://github.com/irifrance/gini/blob/master/doc/crisp/crisp.pdf),
295+
[CRISP-1.0](https://github.com/go-air/gini/blob/master/doc/crisp/crisp.pdf),
296296
the compressed incremental SAT protocol. The protocol is a client-server wire
297297
protocol which can dispatch an incremental sat solver with very little overhead
298298
as compared to direct API calls. The advantage of using a protocol is that it
@@ -329,7 +329,7 @@ BibText:
329329
```
330330
@misc{scott_cotton_2019_2553490,
331331
author = {Scott Cotton},
332-
title = {irifrance/gini: Sapeur},
332+
title = {go-air/gini: Sapeur},
333333
month = jan,
334334
year = 2019,
335335
doi = {10.5281/zenodo.2553490},

ax/ax.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
package ax
55

66
import (
7-
"github.com/irifrance/gini/inter"
8-
"github.com/irifrance/gini/z"
97
"time"
8+
9+
"github.com/go-air/gini/inter"
10+
"github.com/go-air/gini/z"
1011
)
1112

1213
// Interface T describes an assumptions exchanger (ax).

ax/ax_test.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@ package ax
55

66
import (
77
"fmt"
8-
"github.com/irifrance/gini"
9-
"github.com/irifrance/gini/gen"
10-
"github.com/irifrance/gini/z"
118
"log"
129
"math/rand"
1310
"testing"
1411
"time"
12+
13+
"github.com/go-air/gini"
14+
"github.com/go-air/gini/gen"
15+
"github.com/go-air/gini/z"
1516
)
1617

1718
func ExampleNewT() {

ax/req.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ package ax
55

66
import (
77
"fmt"
8-
"github.com/irifrance/gini/z"
98
"sync"
109
"time"
10+
11+
"github.com/go-air/gini/z"
1112
)
1213

1314
// Type ReqFlag describes options for submitting requests

ax/resp.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
package ax
55

66
import (
7-
"github.com/irifrance/gini/z"
87
"time"
8+
9+
"github.com/go-air/gini/z"
910
)
1011

1112
// Type Response describes the result of an ax Request.

cmd/bench/bench.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"strings"
1313
"time"
1414

15-
"github.com/irifrance/gini/bench"
15+
"github.com/go-air/gini/bench"
1616
)
1717

1818
var selFlags = flag.NewFlagSet("sel", flag.ExitOnError)

cmd/crispd/crispd.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@ package main
66
import (
77
"flag"
88
"fmt"
9-
"github.com/irifrance/gini/crisp"
109
"log"
1110
"os"
1211
"path/filepath"
12+
13+
"github.com/go-air/gini/crisp"
1314
)
1415

1516
var CrispD *crisp.Server

cmd/gini/icnf.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@ package main
66
import (
77
"flag"
88
"fmt"
9-
"github.com/irifrance/gini"
10-
"github.com/irifrance/gini/ax"
11-
"github.com/irifrance/gini/dimacs"
12-
"github.com/irifrance/gini/z"
139
"io"
1410
"log"
1511
"runtime"
1612
"time"
13+
14+
"github.com/go-air/gini"
15+
"github.com/go-air/gini/ax"
16+
"github.com/go-air/gini/dimacs"
17+
"github.com/go-air/gini/z"
1718
)
1819

1920
var useAx = flag.Bool("ax", false, "run the assumption exchanger for icnf inputs")

cmd/gini/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ import (
1818
"strings"
1919
"time"
2020

21-
proto "github.com/irifrance/gini/crisp"
22-
"github.com/irifrance/gini/internal/xo"
23-
"github.com/irifrance/gini/z"
21+
proto "github.com/go-air/gini/crisp"
22+
"github.com/go-air/gini/internal/xo"
23+
"github.com/go-air/gini/z"
2424
)
2525

2626
var pprofAddr = flag.String("pprof", "", "address to serve http profile (eg :6060)")

crisp/client.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@ package crisp
55

66
import (
77
"fmt"
8-
"github.com/irifrance/gini/dimacs"
9-
gnet "github.com/irifrance/gini/inter/net"
10-
"github.com/irifrance/gini/internal/xo"
11-
"github.com/irifrance/gini/z"
128
"io"
139
"log"
1410
"net"
11+
12+
"github.com/go-air/gini/dimacs"
13+
gnet "github.com/go-air/gini/inter/net"
14+
"github.com/go-air/gini/internal/xo"
15+
"github.com/go-air/gini/z"
1516
)
1617

1718
// Type Client is a concrete Solver which communicates using the gini sat protocol.

0 commit comments

Comments
 (0)