| 1 |
|
|
| 2 |
|
|
| 3 |
|
|
| 4 |
|
|
| 5 |
|
|
| 6 |
|
|
| 7 |
|
package org.sat4j.minisat.orders; |
| 8 |
|
|
| 9 |
|
import org.sat4j.minisat.core.ILits; |
| 10 |
|
|
| 11 |
|
|
| 12 |
|
|
| 13 |
|
|
|
|
|
| 81,8% |
Uncovered Elements: 2 (11) |
Complexity: 2 |
Complexity Density: 0,67 |
|
| 14 |
|
public class VarOrderHeapRsat extends VarOrderHeap<ILits> { |
| 15 |
|
|
| 16 |
|
private static final long serialVersionUID = 1L; |
| 17 |
|
|
|
|
|
| 100% |
Uncovered Elements: 0 (6) |
Complexity: 2 |
Complexity Density: 0,5 |
|
| 18 |
1196560562
|
@Override... |
| 19 |
|
public void updateVar(int p) { |
| 20 |
1196560562
|
int var = p >> 1; |
| 21 |
1196560562
|
updateActivity(var); |
| 22 |
1196560562
|
if (heap.inHeap(var)) |
| 23 |
246818765
|
heap.increase(var); |
| 24 |
|
} |
| 25 |
|
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 26 |
241105828
|
@Override... |
| 27 |
|
public void assignLiteral(int p) { |
| 28 |
241105828
|
phase[p>>1] = p; |
| 29 |
|
} |
| 30 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 31 |
0
|
@Override... |
| 32 |
|
public String toString() { |
| 33 |
0
|
return "VSIDS like heuristics from MiniSAT using a heap and lightweight component caching from RSAT"; |
| 34 |
|
} |
| 35 |
|
} |