(self,
weighted, labeled, n_int, n_float, n_string)
| 187 | return self |
| 188 | |
| 189 | def _make_vineyard_decoder(self, |
| 190 | weighted, labeled, n_int, n_float, n_string): |
| 191 | attr_types = [] |
| 192 | if n_int == 0 and n_float == 0 and n_string == 0: |
| 193 | attr_types = None |
| 194 | else: |
| 195 | attr_types.extend(["int"] * n_int) |
| 196 | attr_types.extend(["float"] * n_float) |
| 197 | attr_types.extend(["string"] * n_string) |
| 198 | return data.Decoder(weighted, labeled, attr_types) |
| 199 | |
| 200 | def node(self, |
| 201 | source, |
no outgoing calls
no test coverage detected