Monday, Jan 1, 0001 | 1 minute read | Updated at Monday, Jan 1, 0001

@

DFA到正则表达式:状态消除法

Layout: step-by-step process flow

STEPS:

  1. 原始DFA - 带有多个状态
  2. 消除非初始/接受状态 - 逐个移除中间状态
  3. 状态合并 - 组合进入/离开转移
  4. 最终正则表达式 - 只剩下初始和接受状态

CONNECTIONS: 箭头从左到右展示转换过程 中间步骤显示R_{pq} ○ R_{qr}* 的公式

KEY INSIGHTS:

  • 如果 q_start = q_accept,正则表达式为ε
  • 初始到接受路径的并 = 最终表达式
  • 消除状态时,p → q → r 变为 p → r = R_{pq} ○ R_{qr}*

PALETTE: macaron — soft pastel color blocks COLORS: DFA states in Macaron Blue (#A8D8EA), eliminated states in Coral Red (#E8655A), final expression in Mint (#B5E5CF), arrows in Black (#1A1A1A), Warm Cream background (#F5F0E8) ELEMENTS: Hand-drawn flowchart showing 3-4 stages. Stage 1: complex DFA. Stage 2: DFA with X mark on one state. Stage 3: combined transitions. Stage 4: simplified DFA with 2 states, final regex shown below. Wavy arrows between stages. Small formula annotations.

STYLE: Hand-drawn educational flowchart on warm cream paper. Slight wobble on all lines. Hand-lettered stage labels. Generous white space.

Color values (#hex) and color names are rendering guidance only — do not display color names, hex codes, or palette labels as visible text in the image.

Clean composition with generous white space. Simple or no background. Main elements centered or positioned by content needs.

Text should be large and prominent with handwritten-style fonts. Keep minimal, focus on keywords.

ASPECT: 16:9

© 2021 - 2026 古月月仔的博客

🌱 Powered by Hugo with theme Dream.

关于我
  • 我是古月月仔
  • Shimizu Tou||Ethan Hu
  • 分享技术学习笔记与生活感悟杂谈
  • 现居: 上海 中国
  • 家乡: 平遥 山西
日常效率工具
  • 📝Typora — Markdown极简编辑器。
  • 📓Notion — 一站式笔记工作空间。
  • 🔗N8N — 强大的节点编排工作流工具。
  • 🤖Gemini — 好用的智能 AI 助手。
  • IamgetoUrl - 快速将图片转为URL。
  • Anyconv - 多种文件格式转换在线工具。
  • PDF24 - PDF编辑操作在线工具箱。
内容与资源工具
  • Mixamo - Adobe提供的免费角色动画库。
  • Bunlock-Music - 用于解密.ncm,.qmc类音频格式的工具。
  • EasyGIT - 一款在线GIF动图制作工具。
  • Alphacoders - 海量高清壁纸和影视/游戏原图社区。
  • 哲风壁纸 -中文壁纸分享与交流社区。
  • 爱给网 - 免费音效、配乐、视频模板等海量媒体素材。
  • 模之屋 - 专注于分享各类3D模型的社区。
我的爱好
  • 🚀 喜欢折腾各种好玩的应用技术
  • 📸 业余摄影爱好者
  • 🎮 各类游戏玩家
  • 💻 数码产品折腾爱好者
  • 📚 正在阅读:《人类简史》
  • 🎬 经典重温:《爱乐之城》