Research Article

[Retracted] Gender-Based Deep Learning Firefly Optimization Method for Test Data Generation

Table 2

Benchmark programs under test.

ProgramsParametersTarget branchDescription

Trianglex, y, z(x = = y) && (y = = z) is true (equilateral triangle)Calculates whether a triangle defined by inputs x, y, and z is equilateral, isosceles, or scalene.
Angledx, y, zx2 + y2 − z2 = = 0 is trueCheck whether the given inputs x, y, and z satisfy the criteria of right triangle.
RectOverlapx1, y1, , h1, x2, y2, , h2Two rectangles overlapCheck relationship between two rectangles represented as x1, y1, , h1, x2, y2, , and h2.
Quadratica, b, c is trueJudge the roots type of the quadratic equation with one variable (ax2 + bx + c = 0).
Nextdayyear, month, dayNext day is Feb. 28th in leap yearCalculate next day of the given input year, month, and day.
LineCoverx1, y1, x2, y2, x, y, , hA line segment is the diagonal of a rectangleCheck whether a line defined by (x1, y1) and (x2, y2) is the diagonal of a rectangle. (x, y) is the coordinates of lower left point of the rectangle.
LineCirclex1, y1, x2, y2, x, y, rA line segment is tangent to a circleCalculate relationship between a line segment and a circle. (x1, y1), (x2, y2), and (x, y) are coordinates of a line and a circle.
LineRectx1, y1, x2, y2, x, y, , hA line segment intersects at a rectangleCalculate the position relationship between a line segment and a rectangle. It can be divided into inclusion, intersection, and disjoint.