diff options
| author | RncLsn <rnc.lsn@gmail.com> | 2015-06-05 12:22:31 +0100 |
|---|---|---|
| committer | RncLsn <rnc.lsn@gmail.com> | 2015-06-05 12:22:31 +0100 |
| commit | 8c04e4d8003f33848ee84011f8427fe92d55001f (patch) | |
| tree | ee750152d2403cdb78503dbb41c70f0c3cfb1125 /src/uk/ac/ox/cs/pagoda/rules/approximators | |
| parent | b0148d89a76b8fcbeb2e021442842e4e89690ef3 (diff) | |
| download | ACQuA-8c04e4d8003f33848ee84011f8427fe92d55001f.tar.gz ACQuA-8c04e4d8003f33848ee84011f8427fe92d55001f.zip | |
Violation statistics.
Diffstat (limited to 'src/uk/ac/ox/cs/pagoda/rules/approximators')
| -rw-r--r-- | src/uk/ac/ox/cs/pagoda/rules/approximators/SkolemTermsManager.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/uk/ac/ox/cs/pagoda/rules/approximators/SkolemTermsManager.java b/src/uk/ac/ox/cs/pagoda/rules/approximators/SkolemTermsManager.java index ef004c4..44daf7a 100644 --- a/src/uk/ac/ox/cs/pagoda/rules/approximators/SkolemTermsManager.java +++ b/src/uk/ac/ox/cs/pagoda/rules/approximators/SkolemTermsManager.java | |||
| @@ -87,6 +87,13 @@ public class SkolemTermsManager { | |||
| 87 | return individualToDepth_map.keySet().size(); | 87 | return individualToDepth_map.keySet().size(); |
| 88 | } | 88 | } |
| 89 | 89 | ||
| 90 | /** | ||
| 91 | * Just for reading the clause id from <tt>LimitedSkolemisationApproximator</tt>. | ||
| 92 | */ | ||
| 93 | int getClauseId(DLClause clause) { | ||
| 94 | return clauseToId_map.get(clause); | ||
| 95 | } | ||
| 96 | |||
| 90 | private int mapClauseToId(DLClause clause) { | 97 | private int mapClauseToId(DLClause clause) { |
| 91 | if(!clauseToId_map.containsKey(clause)) { | 98 | if(!clauseToId_map.containsKey(clause)) { |
| 92 | clauseToId_map.put(clause, termsCounter); | 99 | clauseToId_map.put(clause, termsCounter); |
