Skip to main content

Table 1 Implementation of constraint rules

From: LTPConstraint: a transfer learning based end-to-end method for RNA secondary structure prediction

Constraint number

Implementation

Constraint 1

\(if \{x_ix_j\} \subseteq \alpha , M_{ij}=M_{ji}=1\)

Constraint 2

\(if\ i=j, then\ M_{ij}=0\)

Constraint 3

\(\forall |i-j|< 4, M_{ij}=M_{ji}=0\)

  1. Three hard constraints that can be implemented using constraint matrice, corresponding to the first three of the four constraints listed in the text