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

LearnLib / automatalib / 13100258666

02 Feb 2025 03:46PM UTC coverage: 92.108% (+0.1%) from 92.01%
13100258666

push

github

mtf90
provide some default methods for {Mutable,]ProbabilisticMealy

including tests

4 of 4 new or added lines in 2 files covered. (100.0%)

18 existing lines in 7 files now uncovered.

16609 of 18032 relevant lines covered (92.11%)

1.7 hits per line

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

85.71
/core/src/main/java/net/automatalib/graph/impl/CompactSimpleGraph.java
1
/* Copyright (C) 2013-2025 TU Dortmund University
2
 * This file is part of AutomataLib <https://automatalib.net>.
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 net.automatalib.graph.impl;
17

18
import net.automatalib.graph.base.AbstractCompactUniversalGraph;
19
import net.automatalib.graph.base.CompactEdge;
20

21
/**
22
 * A compact graph representation that supports arbitrary edge properties.
23
 *
24
 * @param <EP>
25
 *         edge property type
26
 */
27
public class CompactSimpleGraph<EP> extends AbstractCompactUniversalGraph<CompactEdge<EP>, Void, EP> {
28

29
    public CompactSimpleGraph() {
2✔
30
        // default constructor
31
    }
2✔
32

33
    public CompactSimpleGraph(int initialCapacity) {
34
        super(initialCapacity);
1✔
35
    }
1✔
36

37
    @Override
UNCOV
38
    public void setNodeProperty(int node, Void property) {}
×
39

40
    @Override
41
    public Void getNodeProperty(int node) {
42
        return null;
2✔
43
    }
44

45
    @Override
46
    protected CompactEdge<EP> createEdge(int source, int target, EP property) {
47
        return new CompactEdge<>(target, property);
2✔
48
    }
49

50
}
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

© 2026 Coveralls, Inc