» Home » sets » Page 1
Generating a graph with multiple (sets of multiple sets of multiple) X-axis data sets
Category : Programming Languages

I am looking for a way to generate a graph with multiple sets of data on the X-axis, each of which is divided into multiple sets of multiple sets. I basically want to take this graph and place similar graphs side by side with it. I am trying to graph the build a graph of the duration (Y-axis) of the same jobs (0-3) with different configurations (0-1) on multiple servers (each group with the s


View Replies


Python - can't import Set from sets (“no module named sets”)
Category : Programming Languages

I'm trying to learn python and I was trying to write something simple. I am developing under Pydev (Eclipse) using OS X 10.8. I installed python 3.2 using the 64bits .dmg installer.


I configured the Python interpreter successfully (or I think so, as I actually can create a "hello world" project and run it). But for some reason, when I try to import Set (from sets import Set

View Replies


Refactor a couple of functions into one by accepting sets and returning sets
Category : Programming Languages

I have a couple of functions which calculates different statistical data based on input dictionaries, e.g. max, min, sum, average, median.


I would like to combine all these functions into one instead of having them in different methods. so the caller can do something like below:


(minValue, averageValue, maxValue) = myFunction(min, avg, max, data, key, ...)

View Replies


How to calculate difference between two sets in emacs lisp,the sets should be lists
Category : Web Design

How to calculate the difference between two sets in Emacs Lisp? The sets should be lists.
The programm should be very simple and short, or else I won't understand it. I'm a newbee.


Thx


View Replies


Difference Between Comforter Sets & Duvet Sets
Category : Home & Garden
Many people get confused over the difference between a comforter and a duvet cover. A comforter may be right for one person but not suit the taste of the next person at all. A proper explanation should guide you so that you make the right choice for your bedroom. "blue bedroom" is Copyrighted by Flickr user: coco+kelley (cassandra lavalle) under the Creative Commons Attribution license.
Siz

View Replies


Generate sets of sets of n-dimensional points
Category : Web Design

I am trying to take sets of points and split them up into smaller sets. The constraint is that each set has some minimum and some maximum for each of their dimensions. I want to generate all possible combinations of these sets (let's call this a set of sets.) When I am done, each point appears in exactly one set in each set o' sets.


As an example, let's say I just have data points t


View Replies


Is there any appproximate algorithms in set cover when there are too many sets, say, 2^n sets?
Category : Programming Languages

I am recently working on a problem which I think is a fork of the set cover problem. However, the number of sets in my problem is as large as 2^n. And the approximate alogrithms I've found seem to be only effective when there are not too many sets. I wonder there exists an alogorithm that suits with 2^n sets?


Thank you for your answering!!!


View Replies


Consolidating overlapping sets from an array of sets
Category : Programming Languages

I have an array with each entry containing a minimum and a maximum value for a bunch of sets such as the one below:


Array
(
[0] => Array
(
[0] => 1200
[1] => 2400
)
[1] => Array
(
[0] => 1400
[1] => 3800
)
[2] =&

View Replies


Recreate sets from combinations of these sets
Category : Development Tools & Services

I came across a specific problem and looking for some algorithm for it. The problem to solve is as described below.


Let's say we have combinations like below


1 - 3 - 5


1 - 4 - 5


1 - 8 - 5


2 - 4 - 5


3 - 4 - 5


2 - 4 - 7


These combinations were generated from given sets, in this particular case let's s


View Replies


Calculate a set of concatenated sets of n sets
Category : Programming Languages

Okay - I'm not even sure that the term is right - and I'm sure there is bound to be a term for this - but I'll do my best to explain. This is not quite a cross product here, and the order of the results are absolutely crucial.


Given:


IEnumerable<IEnumerable<string>> sets =
new[] {
/* a */ new[] { "a", "b", "c" },

View Replies


Next
2012 / 2017 Copyrights BigHow , All Rights Reserved .