Questions tagged [bidirectional]

"Bidirectional" refers to any process or structure that works in two directions. Use the tag `bidi` for bidirectional text instead of this tag.

"Bidirectional" is a general concept and can have a lot of meanings:

  • bidirectional text, see
  • bidirectional associations of data
  • bidirectional synchronization
  • bidirectional mapping
  • bidirectional communication
  • bidirectional search algorithms

See also: https://en.wikipedia.org/wiki/Bidirectional

493 questions
0
votes
1 answer

How to get collection from both models in a bi-directional many-to-many relationship in django

I have two objects, Company and Account, in different packages. They have a many-to-many relation through employee, which has an additional field is_admin. In Company I define the relation, and reading online, it seems that I don't have to redifine…
Patidati
  • 1,048
  • 2
  • 12
  • 19
0
votes
2 answers

C++ bi-directional association: object access with smart pointers seems to corrupt the instance

I had a bi-directional object association implemented with raw pointers and it worked without flaw. Then I decided to refactor my code with smart pointers and all of a sudden a string member (depName) of one of the classes (Department) is no longer…
Schulefant
  • 13
  • 7
0
votes
1 answer

Hibernate Bidirectional Assocation

What is the difference between inverse="true" and constrained="true". Aren't both used to make the association bidirectional? Also aren't both adding a foreign key constraint linking the primary key in the 2 tables? I am confused. Please guide…
sid
  • 129
  • 3
  • 11
0
votes
0 answers

How implement real-time bidirectional HTTP communication on top of Netty 4 using AHC

I'm writing a client using AsyncHttpClient (AHC) v2.0beta (using Netty 4 as a provider) that streams audio in real-time and it needs to receive server data in real-time too (while streaming). Imagine a HTTP client streaming the microphone's output…
FabienB
  • 1,104
  • 2
  • 11
  • 22
0
votes
2 answers

Bi Directional Relations in Java

Here's my problem. I have a Task and a Tasklist. public class Task { private Tasklist task list; public void setTasklist(Tasklist tasklist) { // the code } } public class Tasklist { private List tasks; public void addTask(Task…
TimKaechele
  • 510
  • 5
  • 12
0
votes
1 answer

Bidirectionnal iterator over a TreeMap[A,B]

Is there a way to get a bidirectionnal iterator over a TreeMap, ie an iterator[(A,B)] with hasPrevious, previous methods completing the hasNext, next methods ? I know it does not exists natively in scala but I have some hope some trick could make it…
norisknofun
  • 859
  • 1
  • 8
  • 24
0
votes
1 answer

Bidirectional Path Tracing questions

I'm coding a Bidirectional Path Tracing for school in C++ and I have some questions (I don't find useful explanations on the web) 1) Why the EyePath has one more vertice ? 2) When I compute the direct illumination during the EyePath creation, do I…
Render
  • 41
  • 6
0
votes
0 answers

Advanced Wordpress Post Relationships

I am building a website for my theatre company. I want it to contain complex, but easy to manage relationships throughout the site all relating to Shows and Artists and Reviews but I want all of the links to be bidirectional...so if I an actor to a…
user5955995
0
votes
1 answer

EclipseLink - Weblogic 12 - Insert order issue using Bidirectional mapping

I'm facing an issue using EclipseLink (JPA2) on Weblogic 12. I searched for a solution over the internet but after spending too much hours without finding a fix, i decided to request you experience: maybe one of you can help me. (This mapping works…
miniflauw
  • 55
  • 5
0
votes
2 answers

Working with bi-dirctional JACKSON

first, sorry about my bad english; Second, I have the following Code: @JsonIdentityInfo(generator = ObjectIdGenerators.PropertyGenerator.class, property = "id") public class UserAccount implements Serializable { private static final long…
0
votes
1 answer

Bi-Directional Self-Referential Active record association

first week playing with rails and I'm a bit stuck on this active record relationship I have 3 tables right now, Events, Fights and Fighters. Every fight belongs to an event and fighters can have many fights. I want to be able to store information in…
0
votes
1 answer

VBA Linking two Objects Bidirectionally

I have two objects, clsGroup and clsUser. Users and groups are separate objects. Each user can be in any number of groups. Each group can contain any number of users. Rather than store a list of groups that belong to each user, and a list of users…
lfrandom
  • 1,013
  • 2
  • 10
  • 32
0
votes
0 answers

socket duplex communication simultaneous or not?

When I have a duplex connection between A and B, does it allow data to be sent from both directions at the same time? Or when data is sent in one direction, the other direction is blocked? For example, if A and B both have 5 packets to send to the…
Yilu Zhu
  • 33
  • 7
0
votes
0 answers

CouchDB directional replicaction FUTON

I'm using Ubuntu 14.04 in a VMware and the same in a different physical machine, even using Hamachi. The thing is that I can replicate my DB using futon to the physical one but the physical one cannot replicate in the WMware. Any suggestions?
user3764102
  • 29
  • 1
  • 8
0
votes
0 answers

Bidirectinal contacts sync

What is the best approach to develop an android application which will find another phone on the same WiFi network and sync the contacts bidirectionally without the use of any Cloud service?
armor--
  • 45
  • 8