[LS]The Constraint Satisfaction Problems

A CSP is a tuple (Z, D, C), where Z is a finite set of variables, D defines a finite set Dx, called the domain of x, for each x 2 Z, and C is a finite set of constraints restricting the combination of values that the variables can take。

可以理解为

z = {x1 , x2 , x3 ... xn}

D = {D1 , D2 , D3 , ... ,Dn} 其中Di = ai,bi为xi的范围

C = {C1 , C2,...,Cm} 其中Cj = 一个限制条件,例如 x1 + x2 > 10

CSP 可以简单理解为一个多元方程寻求最优解,实际举例有n皇后问题,有点像多模态。

用LS来解决有很大好处:\[\]

(1) they use very little memory---usually a constant amount; and (2) they can often find reasonable solutions in large or infinite (continuous) state spaces for which systematic algorithms are unsuitable.

相关推荐
通信小呆呆12 小时前
当算法有了“五感”:多模态数据融合如何向人体感官协同学习?
人工智能·学习·算法·机器学习·机器人
benben04413 小时前
强化学习之DQN算法族(基于gymnasium开发)
算法
何以解忧,唯有..14 小时前
Go语言循环语句详解:for、range与循环控制
开发语言·算法·golang
想吃火锅100515 小时前
【leetcode】88.合并两个有序数组js
算法
生成论实验室15 小时前
机器人:一个自主运动的系统
人工智能·算法·语言模型·机器人·自动驾驶·agi·安全架构
Qres82115 小时前
算法复键——树状数组
数据结构·算法
H1785350909615 小时前
SolidWorks第四部分_直接实体建模特征9_替换面原理
线性代数·算法·机器学习·3d建模·solidworks
不会就选b15 小时前
算法日常・每日刷题--<二分查找>3
算法
绿算技术16 小时前
Mooncake 与绿算ForinnBase GroundPool如何联手打破推理僵局?
科技·算法·架构