package com.aps.service;

import com.aps.entity.Algorithm.GAScheduleResult;
import com.aps.entity.DiscreteParameterDuration;
import com.aps.entity.basic.Entry;
import com.aps.entity.basic.Machine;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author MyBatis-Plus
 * @since 2025-12-05
 */
public interface DiscreteParameterDurationService extends IService<DiscreteParameterDuration> {


    double calculateChangeoverTime(Entry lastEntry,
                                   Entry entry,
                                   Machine machine,
                                   List<Entry> allOperations,int startTime,List<GAScheduleResult> machineTasks);
}
