Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Game Development
  4. Need advices for building simulator for algorithms on Graph
Forum Updated to NodeBB v4.3 + New Features

Need advices for building simulator for algorithms on Graph

Scheduled Pinned Locked Moved Unsolved Game Development
1 Posts 1 Posters 420 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Long Ph. Le
    wrote on last edited by
    #1

    I want to simulate the way that a vaccum cleaner robot cleaning on an unknown room. The room will be presented as a 2D grid graph and i will use different algorithms to planning and finding the "solution" for the robot to clean the room as much as possible. So I want to try this with C++ and Qt for building an cross platform application. I just learned basic Model/View and signal/slot concepts in Qt but still dont have any experience in developing Qt application before. I target my app to simulate on a large graph (about 10000 nodes) so the optimization on render and design structure is neccessary. My approach is i will present the map in GraphicsView, each Node will be a GraphicsItem, but how can i seperate the Model and View in this situation? Does i need to create a GraphModel inherited from QAbstractItemModel to manage and control Nodes in the graph? Or can anyone give me some advices for better approach? I just learned about Qt for about 2 weeks and still be new, if u guys can, please explain ke I'm 5.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved