首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > C/C++/VC++ > 约束求解器在实数和有理数

约束求解器在实数和有理数

  • 资源大小:3.64 MB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: 求解 约束 实数

资 源 简 介

C++ library for solving systems of linear constraints: inequalities equality and disequality. Current version is based on Fourier-Motzkin (FM) elimination for inequalities and Gaussian elimination for equality. Quantifiers “Forall” and “Exists” are allowed. Boolean connectivities "&" -and, "|" - or "~" - not. "<" "<=" ">" ">=" "=" - arithmetical inequalities. The simplest formula for the solver might be: ``` Exists x (x > 0 & x < 3); ``` The solver simplifies such formula to "true". The solver simplifies system of equalities using LU decomposition. For example: ``` x + y = 3 & x - y = 1 ; ``` Gives ``` x = 2 & y = 1 ``` Time-Triggered Protocol. 2 nodes model example: ``` Forall (d, p, c, p, newc, newp) (( ~((newc = ( -0.5*(c + d) - p) ) & (newp = p + c + d) & ( -1 <= d) & (d <= 1) & (-M <= p) & (p <= M) & ((1-M) <= p + c) & (p + c<= M - 1) & (- M <= c) & (c <= M)) |/ ((1 - M <= newp + newc) & (newp + newc <= M - 1))) & (M > 1) ); ``` This e

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP