package Ġjump aku . cur ves . f sc . generate . fit Ċ Ċ import Ġjump aku . cur ves . core . curve . Param Point Ċ import Ġjump aku . cur ves . core . geom . Point Ċ Ċ fun ĠParam Point . weighted ( weight : ĠDouble Ġ= Ġ 1 . 0 ): ĠWeight ed Param Point Ġ= ĠWeight ed Param Point ( this , Ġweight ) Ċ Ċ data Ġclass ĠWeight ed Param Point ( val Ġparam Point : ĠParam Point , Ġval Ġweight : ĠDouble Ġ= Ġ 1 . 0 ) Ġ{ ĊĊĠĠĠ Ġconstructor ( point : ĠPoint , Ġparam : ĠDouble , Ġweight : ĠDouble Ġ= Ġ 1 . 0 ) Ġ: Ġthis ( Param Point ( point , Ġparam ), Ġweight ) ĊĊĠĠĠ Ġinit Ġ{ ĊĠĠĠĠĠĠĠ Ġrequire ( weight . is Finite ()) Ġ{ Ġ" weight ($ weight )" Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġval Ġpoint : ĠPoint Ġ= Ġparam Point . point ĊĊĠĠĠ Ġval Ġparam : ĠDouble Ġ= Ġparam Point . param ĊĊĠĠĠ Ġoverride Ġfun ĠtoString (): ĠString Ġ= Ġ" Weighted Param Point ( param Point =$ param Point , weight =$ weight )" Ċ } ĊĊ