Mathcenter Forum

Mathcenter Forum (https://www.mathcenter.net/forum/index.php)
-   ซอฟต์แวร์คณิตศาสตร์ (https://www.mathcenter.net/forum/forumdisplay.php?f=30)
-   -   เขียนโปรแกรมด้านทฤษฏีกราฟ (https://www.mathcenter.net/forum/showthread.php?t=24202)

trinsitw 06 สิงหาคม 2018 22:41

เขียนโปรแกรมด้านทฤษฏีกราฟ
 
ผมเขียนโปรแกรมด้านทฤษฎีกราฟ อยากจะแบ่งปันให้ดูกันครับ

-Bellman-Ford shortest path คำนวณเส้นทางสั้นที่สุดบนกราฟทิศทางถ่วงน้ำหนัก

-Depth-First Traversal cycle detection หาวัฏจักรทั้งหมดในกราฟทิศทาง

https://github.com/trinsitw/java/blo...m/Example.java

https://github.com/trinsitw/java/tre...eory/algorithm


หวังว่าจะมีประโยชน์บ้างนะครับ:)

share 24 กุมภาพันธ์ 2021 12:57

ขอบคุณครับ

หากไม่ขัดข้อง
นำเสนอเป็น algorithm
(a process or set of rules to be followed in calculations or other problem-solving operations,
especially by a computer.)
จะเป็นประโยชน์แก่ ผู้ฝึกหัดเขียน โปรแกรม ในภาษาต่าง ๆ

share/toshare


เวลาที่แสดงทั้งหมด เป็นเวลาที่ประเทศไทย (GMT +7) ขณะนี้เป็นเวลา 23:33

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Modified by Jetsada Karnpracha