package com.seer.teach.admin.service;

import com.seer.teach.admin.request.AddKnowledgePointUnitMappingReq;
import com.seer.teach.admin.request.KnowledgePointSimilarityCheckReq;
import com.seer.teach.admin.request.MergeKnowledgePointsReq;
import com.seer.teach.admin.response.KnowledgePointSimilarityCheckResp;

import java.util.List;

/**
 * 知识点相似度检查服务接口
 */
public interface KnowledgePointSimilarityService {

    /**
     * 检查知识点相似度
     *
     * @param req 知识点相似度检查请求参数
     * @return 相似度检查结果
     */
    KnowledgePointSimilarityCheckResp checkKnowledgePointSimilarity(KnowledgePointSimilarityCheckReq req);

    /**
     * 合并知识点
     *
     * @param req 合并知识点请求参数
     * @return 合并结果
     */
    boolean mergeKnowledgePoints(MergeKnowledgePointsReq req);

    /**
     * 添加知识点并处理相似映射关系
     *
     * @param req 知识点信息
     * @return 是否添加成功
     */
    boolean addKnowledgePointUnitMappings(AddKnowledgePointUnitMappingReq req);
}