blob: fcde1b50613291806f3bdbc8529ff1e6835bfb05 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2016, 2018 Willink Transformations and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v20.html
*
* Contributors:
* E.D.Willink - Initial API and implementation
*******************************************************************************/
package org.eclipse.qvtd.compiler.internal.qvts2qvts.splitter;
import org.eclipse.jdt.annotation.NonNull;
import org.eclipse.ocl.pivot.utilities.Nameable;
import org.eclipse.qvtd.pivot.qvtschedule.Node;
/**
* A Group participates in a hierarchy of groups that determine the scheduling of a multi-head region.
*/
interface Group extends Nameable
{
@NonNull Iterable<@NonNull Node> getHeadNodes();
@NonNull Iterable<@NonNull Node> getReachableNodes();
@Override
@NonNull String toString();
void toString(@NonNull StringBuilder s, int depth);
}