/******************************************************************************* * 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(); }