blob: da598b91a622d611e1a2d15da3191c39a09e67b6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
/*******************************************************************************
* Copyright (c) 2010-2014, Miklos Foldenyi, Andras Szabolcs Nagy, Abel Hegedus, Akos Horvath, Zoltan Ujhelyi and Daniel Varro
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-v20.html.
*
* SPDX-License-Identifier: EPL-2.0
*******************************************************************************/
package org.eclipse.viatra.dse.visualizer;
import org.eclipse.viatra.dse.api.DesignSpaceExplorer;
import org.eclipse.viatra.dse.base.ThreadContext;
/**
*
* An implementation of this interface is notified about the traversal of the design space from every traversing thread,
* if registered to the {@link DesignSpaceExplorer}. Its purpose is to able to visualize the design space (a directed
* graph with IDs of the nodes and transitions) and to able to visualize the order of the exploration (the trace of a
* thread).
*
* @author Andras Szabolcs Nagy
*
*/
public interface IDesignSpaceVisualizer extends IExploreEventHandler {
/**
* Initializes the instance with a starting thread's context. Can be called multiple times and concurrently.
*
* @see DesignSpaceVisualizerOptions
* @param context
*/
void init(ThreadContext context);
/**
* Saves the captured data.
*/
void save();
}
|