It is currently Wed Dec 11, 2013 1:46 pm

 All times are UTC

 Page 1 of 1 [ 3 posts ]
 Print view Previous topic | Next topic
Author Message
 Post subject: Correlative CombinadicsPosted: Sat Mar 02, 2013 3:48 am
 Lord of Cheesecakes

Joined: Sun Jun 24, 2012 12:49 am
Posts: 474
Edit: Nevermind this topic. I've decided the problem is too far beyond my scope to describe its contextual situation.

-----------------------------------
So, if I have two linear functions
a(i) = im + x
b(j) = jn + y

that are discretized into integers,
int a = im + x;
int b = jn + y;

(note: these lines are limited / finite)

which may be combined in a correlative way -- naturally, a large number of combinations will never occur; tending to linearly correlate -- then how can I refer to these combinations with integer-based indices? I'm certain these kinds of combinations are indicable.

Like a set/array: AB[combinationIndex].

So far I've been thinking about the stuff said here:
https://en.wikipedia.org/wiki/Combinato ... ber_system

I still haven't been able to wrap my head around this, but I think when the solution is understood, it will probably be very simple. So, does anyone have any ideas? Isn't the answer just another linear function that maps the correlation between them, or something?

Thanks for considering to offer your help

Edit:
To clarify this "correlation," it's really just about where 'i' and 'j' can be plausibly selected.

Top

 Post subject: Re: Correlative CombinadicsPosted: Sat Mar 02, 2013 8:19 am
 Obfuscation Ogre

Joined: Sun Oct 16, 2011 3:09 pm
Posts: 299
Location: Here (where else?)
Quote:
The question does not look very difficult, but then again, I no clue what you are asking at all :(

Pieman wrote:
Edit: Nevermind this topic. I've decided the problem is too far beyond my scope to describe its contextual situation.
My problem is that I don't understand what you want to know.

Quote:
So, if I have two linear functions
a(i) = im + x
b(j) = jn + y
Ah, math. Good!

Quote:
that are discretized into integers,
int a = im + x;
int b = jn + y;
I would expect a(i) = int(im + x), but never mind.
Note that 'int' casting is often different from the mathematical notion 'floor' for negative arguments.

A second point is perhaps the values of i and j. Are they integer too?

Quote:
(note: these lines are limited / finite)
Finite how? in i or j ? in a(i) or b(j) ? in a different way?

Quote:
which may be combined in a correlative way
and here you lost me. What does this mean? What combinations are allowed?
(ie how do you decide whether a(2) and b(16) are allowed or not?)

Quote:
-- naturally, a large number of combinations will never occur; tending to linearly correlate -- then how can I refer to these combinations with integer-based indices? I'm certain these kinds of combinations are indicable.
Not exactly sure what this means, so I could be very wrong here. Some options:
- List them all is one way, that surely works.
- Reserve some bits for i and some other bits for j in the index number would be another way. Likely that will lead to holes in your indices.
- A third way is to count them from the start until you reach 'combination_index'

Like a set/array: AB[combinationIndex].

Quote:
So far I've been thinking about the stuff said here:
https://en.wikipedia.org/wiki/Combinato ... ber_system
That looks like an incremental function (ie from the n-th, combination find the (n+1)-th) to me, not sure how that maps to your AB[..]

Quote:
Isn't the answer just another linear function that maps the correlation between them, or something?
Yes, since 'or something' can mean anything :)
Perhaps it is a linear function, but I don't know how a(i) and b(j) relate to each other, in particular when are they allowed.

Also, it feels like you are solving an X-Y problem, but I lack context to judge that properly.

Quote:
To clarify this "correlation," it's really just about where 'i' and 'j' can be plausibly selected.
But what is the rule?

_________________
My project: Messing about in FreeRCT, dev blog, and IRC #freerct at oftc.net

Top

 Post subject: Re: Correlative CombinadicsPosted: Sat Mar 02, 2013 6:05 pm
 Lord of Cheesecakes

Joined: Sun Jun 24, 2012 12:49 am
Posts: 474
Quote:
That looks like an incremental function (ie from the n-th, combination find the (n+1)-th) to me, not sure how that maps to your AB[..]

In the original post, I never specified any particular content from the Wikipedia article. Indeed, I recognized that the code you're talking about is an incremental function. Whether it's incremental or not, I know it can not help me much regardless. I was referring to the general mathematical information on the whole of the page.

Quote:
The question does not look very difficult, but then again, I no clue what you are asking at all

Well, as I tried to explain in my closing edit, you shouldn't have answered. This topic needs to be closed.

Quote:
What does this mean? What combinations are allowed?

This is out of my scope to explain i.e. it's too complex (really, don't doubt me here) to translate into this topic, unless I posted ~2000 lines of code. I guess I could snip out a lot, but still, I've decided I'd rather just continue to try solving the problem on my own rather than take so much time to explain what it is to other people in the first place.

Quote:
But what is the rule?

There are multiple, and none of them are simple! MUAHAHAHA

Don't worry, I think I can figure it out today.

Top

 Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending
 Page 1 of 1 [ 3 posts ]

 All times are UTC

#### Who is online

Users browsing this forum: Baidu [Spider] and 0 guests

 You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forum

Search for:
 Jump to:  Select a forum ------------------ Forums    Forum Rules and Posting Guidelines Wiki Discussion    Help    Content Issues Game Programming Discussion    C and C++ Game Programming    Java Game Programming    Language Agnostic Programming    .NET Game Programming    VB Game Programming    Mobile Game Programming    Web-Based Game Programming    Other Languages    OpenGL Development    Direct X Development Game Development Discussion    Game Design    Game Media Off-Topic Discussion    Announcements    Off-Topic    Community Projects    News