• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

LearnLib / learnlib / 6433387082

06 Oct 2023 03:10PM UTC coverage: 92.296% (-0.007%) from 92.303%
6433387082

push

github

mtf90
update Falk's developer id

11573 of 12539 relevant lines covered (92.3%)

1.67 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

80.0
/algorithms/active/nlstar/src/main/java/de/learnlib/algorithms/nlstar/Inconsistency.java
1
/* Copyright (C) 2013-2023 TU Dortmund
2
 * This file is part of LearnLib, http://www.learnlib.de/.
3
 *
4
 * Licensed under the Apache License, Version 2.0 (the "License");
5
 * you may not use this file except in compliance with the License.
6
 * You may obtain a copy of the License at
7
 *
8
 *     http://www.apache.org/licenses/LICENSE-2.0
9
 *
10
 * Unless required by applicable law or agreed to in writing, software
11
 * distributed under the License is distributed on an "AS IS" BASIS,
12
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
 * See the License for the specific language governing permissions and
14
 * limitations under the License.
15
 */
16
package de.learnlib.algorithms.nlstar;
17

18
/**
19
 * An (RFSA) inconsistency in an {@link ObservationTable}.
20
 *
21
 * @param <I>
22
 *         input symbol type
23
 */
24
public class Inconsistency<I> {
25

26
    private final Row<I> row1;
27
    private final Row<I> row2;
28

29
    private final int symbolIdx;
30

31
    private final int suffixIdx;
32

33
    /**
34
     * Constructor.
35
     *
36
     * @param row1
37
     *         the first upper prime row
38
     * @param row2
39
     *         the second upper prime row (covered by {@code row1})
40
     * @param symbolIdx
41
     *         the index of the symbol
42
     * @param suffixIdx
43
     *         the index of the suffix
44
     */
45
    public Inconsistency(Row<I> row1, Row<I> row2, int symbolIdx, int suffixIdx) {
2✔
46
        this.row1 = row1;
2✔
47
        this.row2 = row2;
2✔
48
        this.symbolIdx = symbolIdx;
2✔
49
        this.suffixIdx = suffixIdx;
2✔
50
    }
2✔
51

52
    public Row<I> getRow1() {
53
        return row1;
×
54
    }
55

56
    public Row<I> getRow2() {
57
        return row2;
×
58
    }
59

60
    public int getSymbolIdx() {
61
        return symbolIdx;
2✔
62
    }
63

64
    public int getSuffixIdx() {
65
        return suffixIdx;
2✔
66
    }
67

68
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc