Skip to content

Commit

Permalink
Format Tane
Browse files Browse the repository at this point in the history
  • Loading branch information
BUYT-1 committed Jan 30, 2024
1 parent ae3fc86 commit 3f1b9ce
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/core/algorithms/fd/tane/tane.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,9 @@ unsigned long long Tane::ExecuteInternal() {
<< relation_->GetMaximumNip() << ".";

for (auto const& column : schema->GetColumns()) {
double avg_partners = relation_->GetColumnData(column.GetIndex())
.GetPositionListIndex()
->GetNepAsLong() *
2.0 / relation_->GetNumRows();
double avg_partners =
relation_->GetColumnData(column.GetIndex()).GetPositionListIndex()->GetNepAsLong() *
2.0 / relation_->GetNumRows();
LOG(INFO) << "* " << column.ToString() << ": every tuple has " << std::setw(2)
<< avg_partners << " partners on average.";
}
Expand Down

0 comments on commit 3f1b9ce

Please sign in to comment.