Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6124081
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T16:05:31+00:00 2026-05-23T16:05:31+00:00

I have an assignment problem at hand and am wondering how suitable it would

  • 0

I have an assignment problem at hand and am wondering how suitable it would be to apply local search techniques to reach a desirable solution (the search space is quite large).

I have a directed graph (a flow-chart) that I would like to visualize on 2-D plane in a way that it is very clear, understandable and easy to read by human-eye. Therefore; I will be assigning (x,y) positions to each vertex. I’m thinking of solving this problem using simulated annealing, genetic algorithms, or any such method you can suggest

Input: A graph G = (V,E)
Output: A set of assignments, {(xi, yi) for each vi in V}. In other words, each vertex will be assigned a position (x, y) where the coordinates are all integers and >= 0.

These are the criteria that I will use to judge a solution (I welcome any suggestions):

  • Number of intersecting edges should be minimal,
  • All edges flow in one direction (i.e from left to right),
  • High angular resolution (the smallest angle formed by two edges
    incident on the same vertex),
  • Small area – least important.

Furthermore; I have an initial configuration (assignment of positions to vertices), made by hand. It is very messy and that’s why I’m trying to automate the process.

My questions are,

  • How wise would it be to go with local search techniques? How likely
    would it produce a desired outcome?

  • And what should I start with? Simulated annealing, genetic algorithms
    or something else?

  • Should I seed randomly at the beginning or use the initial
    configuration to start with?

  • Or, if you already know of a similar implementation/pseudo-code/thing, please point me to it.

Any help will be greatly appreciated. Thanks.

EDIT: It doesn’t need to be fast – not in real-time. Furthermore; |V|=~200 and each vertex has about 1.5 outgoing edges on average. The graph has no disconnected components. It does involve cycles.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T16:05:31+00:00Added an answer on May 23, 2026 at 4:05 pm

    I would suggest looking at http://www.graphviz.org/Theory.php since graphviz is one of the leading open source graph visualizers.

    Depending on what the assignment is, maybe it would make sense to use graphviz for the visualization altogether.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a problem concerning nested templates and the overriding of the assignment operator.
I got some problem with reference assignment in java. Let me explain: in my
I have a graph-theoretic (which is also related to combinatorics) problem that is illustrated
I have a container class that is templatized. I am overloading the assignment operator
I have 2 DataGridViews, it´s a kind of MasterDetail tables. I have a problem
I am puzzled because I cannot figure where my bug/problem is. I have a
I know that using generic in an assignment, a method can implicitly know the
Okay here's the program I have typed up(stdio.h is included also): /* function main
I'm working on a class assignment that started small, so I had it all
I have the following situation: There is a windows folder that has been mounted

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.