diff options
Diffstat (limited to 'src/uk/ac/ox/cs/pagoda/rules')
| -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); |
