Notebook[List[Cell[BoxData[FormBox[RowBox[List[RowBox[List[RowBox[List[SuperscriptBox["relink_cost", "*"], RowBox[List["(", "w", ")"]]]], "=", RowBox[List[UnderscriptBox["\[Sum]", RowBox[List["s", ",", RowBox[List["t", "\[Element]", "S"]]]]], RowBox[List[RowBox[List["d", "(", RowBox[List["s", ",", "t"]], ")"]], RowBox[List["inwave", "(", RowBox[List["t", ",", "w"]], ")"]]]]]]]], ","]], TraditionalForm]], "Input"]]]