Grasshopper

algorithmic modeling for Rhino

Hi all,

 

i am having a hard time to find a solution for the following:

 

in a room there are several person. Each person likes the other persons more or less.

the preferences are mutual, so if i like you lets say 10 you also like me the same amount.

how can i now build a map/graph that expresses these relationships ?

 

hope i described the problem good enough

thy for your answers

Views: 438

Replies to This Discussion

Hi Pyrit,

 

do you want to create a data-structure in memory that represents this or geometry in Rhino that represents this?

 

How is the data you have structured?

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Hello + thanks for your interesst.

 

edit:

sorry i totally forgot to mention that the preferences are expressed in distances. so the more sympathy the closer are the individuals.

 

 

the preferences are in a list. please see the attached jpg.

i tryed to set a geometrical solution for just 3 persons, by drawing circles for each preference.

i think that works for 3 persons, but the goal is to have many individuals that have different preferences.

 

I want to achieve this in gh, so that data (preferences ) of the individals can be changed with corresponding changes in the graph. then try devolp further spatial organization of the individuals.

 

thy

If the distance between two points must resemble the relationship between those two points, then you can only make a triangle in 2D (unless the data is very specifically tailored to allow for more points). In 3D you can place 4 points with proper distances.

 

If you want to be able to place X points in the flat plane where the distances between any two points is indicative of their mutual attraction, you'll need to cut corners and accept less than ideal solutions. You'll also probably need to solve this problem iteratively, which means using Kangaroo or some other solver.

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Hey thanxs,

 

thats exactly what im trying to do ... good point too with the triangle. 

so its about getting the best compromise for the individuals.

 

thanxs again,

maybe i can figure out to set up a simple system.

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service