| /*------------------------------------------------------------------------------ |
| - |
| - Copyright (c) 2015-2016 University of Padova, ITALY - Intecs SpA |
| - 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: |
| - |
| - Alessandro Zovi azovi@math.unipd.it |
| - Stefano Puri stefano.puri@intecs.it |
| - Laura Baracchi laura.baracchi@intecs.it |
| - Nicholas Pacini nicholas.pacini@intecs.it |
| - |
| - Initial API and implementation and/or initial documentation |
| ------------------------------------------------------------------------------*/package org.polarsys.chess.multicore.partitioning; |
| |
| import java.util.List; |
| import java.util.Map; |
| |
| /** |
| * The Interface BinPacker. |
| */ |
| public interface BinPacker { |
| |
| /** |
| * Pack. |
| * |
| * @param bins the bins |
| * @param tasks the tasks |
| * @return the map |
| */ |
| public Map<Bin, List<Task>> pack(List<Bin> bins, List<Task> tasks); |
| } |