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
1
vote
0 answers

Euler depth first search algorithm

I've coded a depth first search from a graph using euler algorithm of getting a cycle and splice subcicles into the result. The problem is, to very large data, it isn't fast enough to find the correct path, namely on the dfs worst case…
d0pe
  • 573
  • 4
  • 9
  • 23
1
vote
2 answers

Filtered merge replication SQL Server 2008

I'm looking for advice on how to achieve a bi-directional replication which only replicates specific rows in SQL Server 2008. For example, I would like to replicate Table A between two databases (Europe & Asia). I would like the table to contain…
Mojo
  • 21
  • 3
1
vote
1 answer

Always inverse Mapping for bidirectional relations?

I checked Hibernate 'Inverse' in mapping file and http://www.nhforge.org/doc/nh/en/#collections-bidirectional and http://blog.xebia.com/2009/03/16/jpa-implementation-patterns-bidirectional-assocations/ Do i always have to use inverse=true for the…
Koray Güclü
  • 2,857
  • 1
  • 34
  • 30
1
vote
1 answer

Bidirectional OneToMany assocation between sub and superclass not working (JPA with Hibernate 3.6.7)

I have two classes, Employee and Manager. Manager extends Employee, as it is a type of employee. Employee has an instance of Manager, which represents the idea of an employee having one manager. Conversely, manager has a set of Employees. There…
bitsmcgee77
  • 391
  • 3
  • 10
1
vote
3 answers

Spring JPA - How to select specific columns only with a bi-directional relationship to avoid recursion?

json recursion is a known issue with bi-directional relations in JPA. There are many solutions, like using @JsonIdentityInfo and @JsonManagedReference and @JsonBackReference, but all they end up doing is not returning the specific node in the json…
AC1
  • 463
  • 3
  • 9
1
vote
1 answer

How do I make a hreflang tag bidirectional?

Two hreflang tag examples below: I know this will translate an English page to a Spanish page. I then need to make it…
Ryan .10
  • 11
  • 1
1
vote
0 answers

Hibernate, bidirectional relation when using MapStruct

Sample code to represent my problem. Let's say there are entity classes like that public class User { ... @ManyToOne @JoinColumn(name = "users_statuts_id", referencedColumnName = "id", nullable = false) private UserStatus…
Rafał
  • 9
  • 2
1
vote
1 answer

Mapping to DTO bidirectional entities in SpringBoot with MapStruct

I have a bidirectional mapping in Spring Boot: Company.class ... private Integer id; private String nameC; @OneToMany private List employees; ... Employee.class ... private Integer id; private String nameE; @ManyToOne private Company…
Ewe
  • 125
  • 9
1
vote
0 answers

Bi-directional progressive loading in tabulator

I'm looking to load a large quantity of data within tabulator and running into performance issues. Having only the small subset of records that are visible loaded would be ideal. Reading through the documentation I could use progressive loading with…
nova
  • 165
  • 3
  • 10
1
vote
1 answer

Bidirectional mapping in Java witch rejects entries of key or value already existing

I am looking for a data structure such as a bidirectional map that allows to map from a unique key to it's unique value and also from its value to the key. I found this example of a BidiMap public class IdToNames { public static void main(String[]…
Simeon
  • 748
  • 1
  • 9
  • 26
1
vote
1 answer

Are two unidirectional connections one bidirectional?

I just had a discussion about the two types of "connections". Lets say we have a server and a client. What if both are server and client for each other, is this bidirectional? I was under the impression that the two unidirectional connections are…
Kjellski
  • 925
  • 10
  • 24
1
vote
1 answer

Twilio TwiML Connect bidirectional synchronous stream

I am trying to make an outgoing call from my Twilio account/number to a PSTN mobile number. I am using this TwiML: With this I am able to recieve and play incoming audio from PSTN…
1
vote
1 answer

How to make an LSTM Bidirectional?

Question: What changes to LSTMClassifier do I need to make, in order to have this LSTM work bidirectionally? I'm basing my amendments on this disscuss.pytorch.org response. I think the problem is in forward(). It learns from the last state of LSTM…
DanielBell99
  • 896
  • 5
  • 25
  • 57
1
vote
0 answers

Grpc client cannot send message after server calls onError on the same channel

I have implemented bidirectional streaming of grpc using java. The problem is whenever the Server side of grpc calls onError. The call reaches the onError on the client-side and onError gets completely executed. But post which I m not able to send…
1
vote
0 answers

Order of outputs in stacked LSTM Bidirectional in tensorflow

I want to build a seq2seq model with a Bidirectional LSTM encoder (2 layers), but I don't know how is the order of the outputs of the Bidirecional layer. This is the way how I create the Bidirectional layer: self.lstm_layer =…