package org.eclipse.stem.core.solver; | |
/******************************************************************************* | |
* Copyright (c) 2009 IBM Corporation and others. | |
* All rights reserved. This program and the accompanying materials | |
* are made available under the terms of the Eclipse Public License v1.0 | |
* which accompanies this distribution, and is available at | |
* http://www.eclipse.org/legal/epl-v10.html | |
* | |
* Contributors: | |
* IBM Corporation - initial API and implementation | |
*******************************************************************************/ | |
import org.eclipse.stem.core.common.Identifiable; | |
import org.eclipse.stem.core.graph.Graph; | |
import org.eclipse.stem.core.graph.GraphPartitioner; | |
import org.eclipse.stem.core.model.STEMTime; | |
/** | |
* <!-- begin-user-doc --> | |
* A representation of the model object '<em><b>Solver</b></em>'. | |
* <!-- end-user-doc --> | |
* | |
* <p> | |
* The following features are supported: | |
* <ul> | |
* <li>{@link org.eclipse.stem.core.solver.Solver#getPartitioner <em>Partitioner</em>}</li> | |
* <li>{@link org.eclipse.stem.core.solver.Solver#getCanonicalGraph <em>Canonical Graph</em>}</li> | |
* </ul> | |
* </p> | |
* | |
* @see org.eclipse.stem.core.solver.SolverPackage#getSolver() | |
* @model | |
* @generated | |
*/ | |
public interface Solver extends Identifiable { | |
public final static String URI_TYPE = "Solver"; | |
/** | |
* Returns the value of the '<em><b>Partitioner</b></em>' reference. | |
* <!-- begin-user-doc --> | |
* <p> | |
* If the meaning of the '<em>Partitioner</em>' reference isn't clear, | |
* there really should be more of a description here... | |
* </p> | |
* <!-- end-user-doc --> | |
* @return the value of the '<em>Partitioner</em>' reference. | |
* @see #setPartitioner(GraphPartitioner) | |
* @see org.eclipse.stem.core.solver.SolverPackage#getSolver_Partitioner() | |
* @model transient="true" | |
* @generated | |
*/ | |
GraphPartitioner getPartitioner(); | |
/** | |
* Sets the value of the '{@link org.eclipse.stem.core.solver.Solver#getPartitioner <em>Partitioner</em>}' reference. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @param value the new value of the '<em>Partitioner</em>' reference. | |
* @see #getPartitioner() | |
* @generated | |
*/ | |
void setPartitioner(GraphPartitioner value); | |
/** | |
* Returns the value of the '<em><b>Canonical Graph</b></em>' containment reference. | |
* <!-- begin-user-doc --> | |
* <p> | |
* If the meaning of the '<em>Canonical Graph</em>' containment reference isn't clear, | |
* there really should be more of a description here... | |
* </p> | |
* <!-- end-user-doc --> | |
* @return the value of the '<em>Canonical Graph</em>' containment reference. | |
* @see #setCanonicalGraph(Graph) | |
* @see org.eclipse.stem.core.solver.SolverPackage#getSolver_CanonicalGraph() | |
* @model containment="true" transient="true" | |
* @generated | |
*/ | |
Graph getCanonicalGraph(); | |
/** | |
* Sets the value of the '{@link org.eclipse.stem.core.solver.Solver#getCanonicalGraph <em>Canonical Graph</em>}' containment reference. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @param value the new value of the '<em>Canonical Graph</em>' containment reference. | |
* @see #getCanonicalGraph() | |
* @generated | |
*/ | |
void setCanonicalGraph(Graph value); | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @model | |
* @generated | |
*/ | |
boolean step(STEMTime time, long timeDelta, int cycle); | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @model | |
* @generated | |
*/ | |
void reset(); | |
public void initialize(STEMTime t, GraphPartitioner p); | |
} // Solver |