Questions tagged [heterogeneous]

This tag is ambiguous. Please use other, more specific tags to narrow down the scope of your question.

This tag is ambiguous. Please use other, more specific tags to narrow down the scope of your question.

116 questions
0
votes
1 answer

how to set on click listener of recyclerview where list items are heterogenous

I have a recyclerview with 2 types of viewholders for showing 2 types of items i want to implement on click listener on sub itmes in the items existing solutions shows viewholder class should be implemented as static inside the adapter ,but i have…
Shamsul Arefin
  • 1,771
  • 1
  • 21
  • 21
0
votes
1 answer

How to make better ? (use xml type in database or create this strucute in database on my own)

Now I am creating small web services and I want to know how to make them better and more productive. I need to keep dynamical data and I have two ways how to do it. I need to keep data in similar xml structure Like this: Or I need to use standart…
Bushuev
  • 557
  • 1
  • 10
  • 29
0
votes
0 answers

Closure table with heterogeneous types of nodes

I'm working with a closure table that manipulate different types of nodes:"program", "project", "region", .... In fact I have a location table that has the Ids of all my nodes let call this table "StructureElement" . From this table inherit our…
0
votes
0 answers

Serialization in a heterogenous environment

In our project we have two parts: webui - runs on top of .Net 4.5, msmq-listeners - Windows services - they run on top of .Net 3.5. To communicate between the applications we use the MSMQ queueing. I've seen many examples where (de-)serialization…
lexeme
  • 2,915
  • 10
  • 60
  • 125
0
votes
0 answers

how to distribute unequal number of lines from a file among various processors in MPI on heterogeneous cluster?

I have a text file having n number of rows. i want to divide these rows among processors in 1:2 ratio means master node take only half of the lines than other processors. I followed code for equal distribution of lines from the link MPI Reading from…
0
votes
1 answer

Is hibernate recommended in a heterogeneous environment?

Is Hibernate less effective in some environments, like a polygot company where several distributed systems are accessing the same db? If Acme Company has a python website reading from and writing to the same database as a java web app (web…
bwfrieds
  • 341
  • 3
  • 20
0
votes
1 answer

Left Join wrong transformation using Oracle Heterogeneous Service

I have an Oracle Database connected using DB link with remote DB. My remote DB has nothing to do with OUTER JOINs, that's why Heterogeneous Service transforms my query to several simple queries and concatenates results. For example I have 3…
fen1ksss
  • 1,100
  • 5
  • 21
  • 44
0
votes
1 answer

Heterogenous storage of variadic class parameter member variables

I have a variadic class template that is used to create a top-level class for a variable number of classes. Each class that is to go in the top-level class is derived from a base class, as there is common functionality for them. I don't know the…
John
  • 10,837
  • 17
  • 78
  • 141
0
votes
2 answers

Weighted Least Squares in R

My dataset is quite big so I'm just using 10 lines of data as an example (I've worked out the answer in excel but can't replicate it in R-as i need help with the…
0
votes
2 answers

Creating/managing a heterogenous container(c++)

I'm having a problem with correctly building a container that stores class specimens of different types that are all inheritors of a single abstract class. The register(the container) stores a pointer to the array of these specimens, that has the…
0
votes
2 answers

Heterogeneous OpenMP parallel loop with Intel MIC offloading

I am working on a code which includes a loop with many iterations (~10^6-10^7) where an array (let's say, 'myresult') is being calculated via summation over lots of contributions. In Fortran 90 with OpenMP, this will look something like: !$omp…
AlexJWR
  • 121
  • 1
  • 5
0
votes
1 answer

Heterogeneous lists and DMA

I'm trying to build a heterogeneous list that allocates memory to the heterogeneous array dynamically. I'm having some trouble with the declarations necessary to make this work. So far I have something like: class Class1 { public: Class1 *…
Victor Brunell
  • 5,668
  • 10
  • 30
  • 46
0
votes
1 answer

Heterogeneous Lists, Virtual Functions, and Member Data

I'm having some trouble figuring out how to assign values to member data when calling a virtual function through a heterogeneous list. Here's an example of what I'm trying to do: class A { protected: virtual void func1(); private: A *…
Victor Brunell
  • 5,668
  • 10
  • 30
  • 46
0
votes
5 answers

Can ArrayList in c# store heterogeneous data

Is it possible to store integer, strings and user-defined class objects in one arraylist like ArrayList a=new ArrayList(); class Demo {} Demo d=new Demo(); a.Add(12); a.Add("Faizal Sardar Khan"); a.Add(d); If it all it is possible, then how to…
Nikunj Vats
  • 33
  • 1
  • 6
0
votes
0 answers

heterogeneous container in java including primitive types

I've used Joshua Bloch's heterogeneous container idea to type safely store/retrieve values. But I also am storing primitive types (which in the container are auto boxed to Object types), and am unable to retrieve the values as primitive types. The…